ecore: fix a potential memory leak.
authorHermet Park <hermetpark@gmail.com>
Mon, 9 Apr 2018 02:46:13 +0000 (11:46 +0900)
committerWonki Kim <wonki_.kim@samsung.com>
Tue, 10 Apr 2018 13:26:06 +0000 (22:26 +0900)
commit5920a9177ef386764fb93af7a84d5dfbf13b686a
treeb19db1639f23187e1f1d62c4f726bd04f83c283b
parentcbc3c015e18a9d795ce6ead10e56655c5ba9d01e
ecore: fix a potential memory leak.

if the func argument is null, allocated memory won't be freed properly.
return it as soon as possible.

@fix
src/lib/ecore/ecore_timer.c