author | Chris Wilson <chris@chris-wilson.co.uk> | |
Wed, 6 Jan 2010 16:53:33 +0000 (16:53 +0000) | ||
committer | Chris Wilson <chris@chris-wilson.co.uk> | |
Wed, 6 Jan 2010 16:54:22 +0000 (16:54 +0000) | ||
commit | e6c136ca7a4c54457b48be1aec2be024b3e4a28d | |
tree | 3e9d60ab0eadecf130f6587338bf60b4a2e39d9e | tree | snapshot (tar.xz tar.gz zip) |
parent | 85fb3e55fdb7af9b5f59c1ec0f15d1950e601b05 | commit | diff |
modes: Fix previous commit for potential legal NULLs
If the count is 0, then the malloc is permitted to return NULL, so don't
throw an error in that case.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
If the count is 0, then the malloc is permitted to return NULL, so don't
throw an error in that case.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
xf86drmMode.c | diff | blob | history |