gpu_array_positive_size_guard: handle NULL argument
commitc003d0a456615e61c86389be314a91ca5df63e04
authorSven Verdoolaege <skimo@kotnet.org>
Thu, 2 Apr 2015 08:34:18 +0000 (2 10:34 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Fri, 17 Apr 2015 09:07:11 +0000 (17 11:07 +0200)
tree10d91c9d9362c45dec3bcee8a75ef76afd725786
parentdb28a736aa56df9a4335b3ec2e134aaef6042ef4
gpu_array_positive_size_guard: handle NULL argument

The NULL argument is treated as an error, but no longer results
in a segmentation fault.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
gpu.c