projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46ba77d
)
edje: remove a stringshare leak on object close with textblock.
author
Cedric Bail
<cedric.bail@samsung.com>
Thu, 11 Jul 2013 07:02:27 +0000
(16:02 +0900)
committer
Cedric Bail
<cedric.bail@samsung.com>
Thu, 11 Jul 2013 07:16:25 +0000
(16:16 +0900)
src/lib/edje/edje_textblock_styles.c
patch
|
blob
|
history
diff --git
a/src/lib/edje/edje_textblock_styles.c
b/src/lib/edje/edje_textblock_styles.c
index a249649914be41b9dfb1f7634671571d651095da..32fa67791fbe8a4e1606458aafb1596413766722 100644
(file)
--- a/
src/lib/edje/edje_textblock_styles.c
+++ b/
src/lib/edje/edje_textblock_styles.c
@@
-413,11
+413,12
@@
_edje_textblock_style_cleanup(Edje_File *edf)
tag = stl->tags->data;
stl->tags = eina_list_remove_list(stl->tags, stl->tags);
+ if (tag->value && eet_dictionary_string_check(eet_dictionary_get(edf->ef), tag->value) == 0)
+ eina_stringshare_del(tag->value);
if (edf->free_strings)
{
if (tag->key) eina_stringshare_del(tag->key);
/* FIXME: Find a proper way to handle it. */
- if (tag->value) eina_stringshare_del(tag->value);
if (tag->text_class) eina_stringshare_del(tag->text_class);
if (tag->font) eina_stringshare_del(tag->font);
}