summaryrefslogtreecommitdiff
path: root/src/lib/emotion/emotion_smart.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-27 17:07:27 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-27 17:08:16 +0900
commitca5e0c6a9da8975a5c9a51d1909cf2bbfc0f943e (patch)
treece91bc33a0a3ae845ba14636bf7cc848363c0617 /src/lib/emotion/emotion_smart.c
parent209962f7634881ba19b74eab0f6ee3dbe1986a5c (diff)
emotion - fix engine string leak
fixes CID 1232727
Diffstat (limited to 'src/lib/emotion/emotion_smart.c')
-rw-r--r--src/lib/emotion/emotion_smart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/emotion/emotion_smart.c b/src/lib/emotion/emotion_smart.c
index 87857fa..0c42135 100644
--- a/src/lib/emotion/emotion_smart.c
+++ b/src/lib/emotion/emotion_smart.c
@@ -210,7 +210,7 @@ _smart_data_free(Emotion_Object_Data *sd)
210 sd->progress.info = NULL; 210 sd->progress.info = NULL;
211 eina_stringshare_del(sd->ref.file); 211 eina_stringshare_del(sd->ref.file);
212 sd->ref.file = NULL; 212 sd->ref.file = NULL;
213 if (sd->file) eina_stringshare_del(sd->engine); 213 if (sd->engine) eina_stringshare_del(sd->engine);
214 sd->engine = NULL; 214 sd->engine = NULL;
215 215
216 /* TODO: remove legacy: emotion used to have no shutdown, call automatically */ 216 /* TODO: remove legacy: emotion used to have no shutdown, call automatically */