summaryrefslogtreecommitdiff
path: root/src/lib/edje/edje_edit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/edje/edje_edit.c')
-rw-r--r--src/lib/edje/edje_edit.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/edje/edje_edit.c b/src/lib/edje/edje_edit.c
index 03fc194bfc..55a262dd31 100644
--- a/src/lib/edje/edje_edit.c
+++ b/src/lib/edje/edje_edit.c
@@ -783,8 +783,10 @@ _edje_if_string_free(Edje *ed, const char **str)
783 if (!ed || !str) return; 783 if (!ed || !str) return;
784 784
785 dict = eet_dictionary_get(ed->file->ef); 785 dict = eet_dictionary_get(ed->file->ef);
786 if (eet_dictionary_string_check(dict, *str)) return; 786
787 eina_stringshare_del(*str); 787 if (!eet_dictionary_string_check(dict, *str))
788 eina_stringshare_del(*str);
789
788 *str = NULL; 790 *str = NULL;
789} 791}
790 792