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:
9d9fae8
)
Edje edit: Free textblock styles with the proper function
20/82020/2
author
Jean-Philippe Andre
<jp.andre@samsung.com>
Mon, 23 Nov 2015 10:40:59 +0000
(19:40 +0900)
committer
Jaehwan Kim
<jae.hwan.kim@samsung.com>
Wed, 3 Aug 2016 09:07:04 +0000
(
02:07
-0700)
Change-Id: I5055e98b8346b253a9d1000f39dda99a5f533155
src/lib/edje/edje_edit.c
patch
|
blob
|
history
diff --git
a/src/lib/edje/edje_edit.c
b/src/lib/edje/edje_edit.c
index
a2d24f6
..
2d39b2f
100644
(file)
--- a/
src/lib/edje/edje_edit.c
+++ b/
src/lib/edje/edje_edit.c
@@
-2689,7
+2689,7
@@
edje_edit_style_del(Evas_Object *obj, const char *style)
ed->file->styles = eina_list_remove(ed->file->styles, s);
_edje_if_string_free(ed, (const char **)&s->name);
- //~ //s->style HOWTO FREE ???
+ evas_textblock_style_free(s->style);
while (s->tags)
{
Edje_Style_Tag *t;
@@
-2702,7
+2702,6
@@
edje_edit_style_del(Evas_Object *obj, const char *style)
_edje_if_string_free(ed, &t->font);
_edje_if_string_free(ed, &t->text_class);
free(t);
- t = NULL;
}
free(s);
return EINA_TRUE;