Skip to content
Commit e6c136ca authored by Chris Wilson's avatar Chris Wilson
Browse files

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: default avatarChris Wilson <chris@chris-wilson.co.uk>
parent 85fb3e55
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment