furrymyad pushed a commit to branch efl-1.16.

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

commit 93898ce569d95f6a82db97145482b1ac295a7d61
Author: Jean-Philippe Andre <[email protected]>
Date:   Mon Nov 23 19:40:59 2015 +0900

    Edje edit: Free textblock styles with the proper function
---
 src/lib/edje/edje_edit.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/lib/edje/edje_edit.c b/src/lib/edje/edje_edit.c
index 69e8051..84fd07b 100644
--- 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;

-- 


Reply via email to