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>
v-0.4.0
Thomas Guillem 7 years ago committed by Cedric BAIL
parent b0d6d61b24
commit 9018a76b7b
  1. 2
      src/bin/video.c

@ -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…
Cancel
Save