gfx: Add NULL check to silence coverity
authorJean-Philippe Andre <jp.andre@samsung.com>
Wed, 13 Jul 2016 07:16:02 +0000 (16:16 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Wed, 13 Jul 2016 07:18:54 +0000 (16:18 +0900)
commit9cf72fe80a81cabb36f40e6186852b78750cc48d
treea456d2518eb967f33d1bd20d340c91f20d5cb763
parent1b6825d3fef6307b5bd93b7160b97dcae0143f73
gfx: Add NULL check to silence coverity

realloc() can return NULL if size is 0. It's like free().
So, the usage here is correct, and there are probably no
points to interpolate between anyway. I wonder if there
can be commands without points, though.

Fixes CID 1293004
src/lib/efl/interfaces/efl_gfx_shape.c