ecore: fix a potential memory leak.
authorHermet Park <hermetpark@gmail.com>
Fri, 20 Apr 2018 04:29:46 +0000 (13:29 +0900)
committerWonki Kim <wonki_.kim@samsung.com>
Tue, 29 May 2018 04:06:54 +0000 (13:06 +0900)
commit6df8772350b1ca560e8a230fa678c6c95f2a0443
tree51d70056524bcd9bdabd5d0e3609497a1568b6e6
parent5703bdd92cb5b834d64e1d932aac2b8f5b13f16f
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