jaehwan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=1b6a400a29df00493f6799b20470f45f91af8846

commit 1b6a400a29df00493f6799b20470f45f91af8846
Author: Sung-Taek Hong <sth253.h...@samsung.com>
Date:   Fri Dec 18 17:58:53 2015 +0900

    ecore_idle_exiter: return NULL in eo_finalize() when Ecore_Task_Cb is not 
set
    
    Summary: - ecore_idle_exiter_add should return NULL, when Ecore_Task_Cb is 
not set.
    
    Reviewers: jpeg, woohyun, jaehwan, Jaehyun
    
    Subscribers: cedric, jpeg
    
    Differential Revision: https://phab.enlightenment.org/D3425
---
 src/lib/ecore/ecore_idle_exiter.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/ecore/ecore_idle_exiter.c 
b/src/lib/ecore/ecore_idle_exiter.c
index 3160f23..8fc2530 100644
--- a/src/lib/ecore/ecore_idle_exiter.c
+++ b/src/lib/ecore/ecore_idle_exiter.c
@@ -96,7 +96,7 @@ _ecore_idle_exiter_del(Ecore_Idle_Exiter *obj)
 EOLIAN static Eo *
 _ecore_idle_exiter_eo_base_finalize(Eo *obj, Ecore_Idle_Exiter_Data 
*idle_exiter)
 {
-   if (!idle_exiter)
+   if (!idle_exiter->func)
      {
         return NULL;
      }

-- 


Reply via email to