cedric pushed a commit to branch master.

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

commit b218c13fb798edaccb7bc8cfdf9ac3905e2d86a7
Author: wonguk.jeong <wonguk.je...@samsung.com>
Date:   Tue Apr 1 18:59:16 2014 +0900

    emotion: fix memory leak
    
    engine instance handle was not free'd in emotion_engine_instance_del()
    
    @fix
    
    Reviewers: raster, cedric
    
    CC: seoz, cedric
    
    Differential Revision: https://phab.enlightenment.org/D672
    
    Signed-off-by: Cedric BAIL <cedric.b...@free.fr>
---
 src/lib/emotion/emotion_modules.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/emotion/emotion_modules.c 
b/src/lib/emotion/emotion_modules.c
index afbf941..6a362a2 100644
--- a/src/lib/emotion/emotion_modules.c
+++ b/src/lib/emotion/emotion_modules.c
@@ -409,6 +409,7 @@ emotion_engine_instance_del(Emotion_Engine_Instance *inst)
 {
    EINA_SAFETY_ON_NULL_RETURN(inst);
    inst->api->del(inst->data);
+   free(inst);
 }
 
 Eina_Bool

-- 


Reply via email to