edje: Fix dereference null return value
authorChris Michael <cp.michael@samsung.com>
Mon, 13 Apr 2015 00:58:59 +0000 (20:58 -0400)
committerChris Michael <cp.michael@samsung.com>
Mon, 13 Apr 2015 01:13:18 +0000 (21:13 -0400)
commit62b8c967b42247a29d64086d3588e99878ea31e5
tree5d74743a59d88edc9e8c93dc13917b0ca76e9634
parent3eed18d231c680dcabfe24b18bfa889026ba85ac
edje: Fix dereference null return value

Summary: Fix Coverity CID1287154. _alloc function can return null
however 'color' was never checked after call to _alloc and thus Could
be NULL.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/lib/edje/edje_edit.c