edje_cc: fix dereference before null check
authorjiin.moon <jiin.moon@samsung.com>
Mon, 27 Jul 2015 22:46:05 +0000 (00:46 +0200)
committerCedric BAIL <cedric@osg.samsung.com>
Tue, 28 Jul 2015 01:05:37 +0000 (03:05 +0200)
commit29bcec06694f0eaa112344ccb22f0c389096fa38
tree29c135968ceb68d0c28400a895734a80b0f03735
parent3adb6127ffd382200b19a6b4372baac91818d86c
edje_cc: fix dereference before null check

Summary:
Fix Coverity issue which reports a dereference before null check.
The enc_info can not has NULL point
because _edje_multisense_encode api calls exit() in case of failure

Reviewers: Hermet, Jaehyun, cedric

Reviewed By: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2794

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
src/bin/edje/edje_cc_out.c