emotion - fix engine string leak

fixes CID 1232727
This commit is contained in:
Carsten Haitzler 2014-08-27 17:07:27 +09:00
parent 209962f763
commit ca5e0c6a9d
1 changed files with 1 additions and 1 deletions

View File

@ -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 */