fix emotion lib leak
Summary: 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 destroyed. 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 <cedric@osg.samsung.com>
This commit is contained in:
parent
b0d6d61b24
commit
9018a76b7b
|
@ -351,6 +351,8 @@ _smart_del(Evas_Object *obj)
|
|||
if (sd->restart_job) ecore_job_del(sd->restart_job);
|
||||
|
||||
_parent_sc.del(obj);
|
||||
|
||||
emotion_shutdown();
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue