raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=ca5e0c6a9da8975a5c9a51d1909cf2bbfc0f943e

commit ca5e0c6a9da8975a5c9a51d1909cf2bbfc0f943e
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Wed Aug 27 17:07:27 2014 +0900

    emotion - fix engine string leak
    
    fixes CID 1232727
---
 src/lib/emotion/emotion_smart.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)
    sd->progress.info = NULL;
    eina_stringshare_del(sd->ref.file);
    sd->ref.file = NULL;
-   if (sd->file) eina_stringshare_del(sd->engine);
+   if (sd->engine) eina_stringshare_del(sd->engine);
    sd->engine = NULL;
 
    /* TODO: remove legacy: emotion used to have no shutdown, call 
automatically */

-- 


Reply via email to