cedric pushed a commit to branch master.


commit 9018a76b7beb8f0f6dbd18c1ea32ed8e68419aa0
Author: Thomas Guillem <tho...@gllm.fr>
Date:   Tue Sep 22 01:25:39 2015 +0200

    fix emotion lib leak
    Emotion lib ref count is incremented by video_add and by emotion_object_add.
    This ref count should be also decremented when the object returned by 
video_add is
    An other way to fix this leak is to remove emotion_init from video_add since
    it's already initialised by emotion_object_add.
    Projects: #rage
    Differential Revision: https://phab.enlightenment.org/D3060
    Signed-off-by: Cedric BAIL <ced...@osg.samsung.com>
 src/bin/video.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/bin/video.c b/src/bin/video.c
index d6b3f57..292c49d 100644
--- a/src/bin/video.c
+++ b/src/bin/video.c
@@ -351,6 +351,8 @@ _smart_del(Evas_Object *obj)
    if (sd->restart_job) ecore_job_del(sd->restart_job);
+   emotion_shutdown();
 static void


Reply via email to