Evas textblock: Fixed style user memory leak.

Thanks to Hermet for spotting it.

SVN revision: 67548
This commit is contained in:
Tom Hacohen 2012-01-26 14:02:59 +00:00
parent fcd0b658cf
commit a64d78e07a
1 changed files with 1 additions and 0 deletions

View File

@ -9272,6 +9272,7 @@ evas_object_textblock_free(Evas_Object *obj)
evas_object_textblock_clear(obj);
evas_object_textblock_style_set(obj, NULL);
evas_object_textblock_style_user_set(obj, NULL);
o = (Evas_Object_Textblock *)(obj->object_data);
free(o->cursor);
while (o->cursors)