summaryrefslogtreecommitdiff
path: root/src/lib/emotion/emotion_modules.c
diff options
context:
space:
mode:
authorwonguk.jeong <wonguk.jeong@samsung.com>2014-04-01 18:59:16 +0900
committerCedric BAIL <cedric.bail@free.fr>2014-04-01 22:00:13 +0900
commitb218c13fb798edaccb7bc8cfdf9ac3905e2d86a7 (patch)
tree97e8c20a9275c0d4673bac49532a539b55106272 /src/lib/emotion/emotion_modules.c
parenta93cd29847250b96ae8a6aea2c3ae443e92781ce (diff)
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.bail@free.fr>
Diffstat (limited to 'src/lib/emotion/emotion_modules.c')
-rw-r--r--src/lib/emotion/emotion_modules.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/emotion/emotion_modules.c b/src/lib/emotion/emotion_modules.c
index afbf9416ea..6a362a2f84 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)
409{ 409{
410 EINA_SAFETY_ON_NULL_RETURN(inst); 410 EINA_SAFETY_ON_NULL_RETURN(inst);
411 inst->api->del(inst->data); 411 inst->api->del(inst->data);
412 free(inst);
412} 413}
413 414
414Eina_Bool 415Eina_Bool