Ecore_con: fix initialisation clean up and avoid memory leak.
authorSrivardhan Hebbar <sri.hebbar@samsung.com>
Thu, 5 Feb 2015 10:26:58 +0000 (11:26 +0100)
committerCedric BAIL <cedric@osg.samsung.com>
Thu, 5 Feb 2015 10:27:00 +0000 (11:27 +0100)
commita2d40968dfc9287ba39f0f02fb9bee97ec3b7370
treed0aeec1a3836fc6521036610530a365b1e578649
parenta9a027509c0753ebb366143e6c3c37892c8991ed
Ecore_con: fix initialisation clean up and avoid memory leak.

Summary: When ecore_init failed or when failed to initialize ecore_con_log_domain, then evil_shutdown was not called. So cleaned up code and added the fix.

@fix

Reviewers: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
src/lib/ecore_con/ecore_con.c