edje_cc - use mem_alloc to fail and exit if alloc fails and fix err out
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Wed, 17 May 2017 05:53:22 +0000 (14:53 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Wed, 17 May 2017 06:04:01 +0000 (15:04 +0900)
commit0feb34927bfbbb39efb5edf103202b10eeea0c31
tree521c9b9a396ee4cb3fb13c4b26b25c5e60c09300
parent58a40d6f8a5442882645e38b29efee8ccc68e7c1
edje_cc - use mem_alloc to fail and exit if alloc fails and fix err out

PVS sudio thought this was odd and it was a bit. not a real issue as a
mem alloc failure herw would still be fatal and simply a crash... as
opposed to a clean "out of mem" and fatal exit then...

error out eally was not finding originally allocated color and the
malloc should have been a mem_alloc() that guarantees a valid memory
return (or termintion of the process).

@fix
src/bin/edje/edje_cc_handlers.c