Evas textblock: Fixed a memory leak when removing format nodes.
authorTom Hacohen <tom@stosb.com>
Wed, 12 Jan 2011 15:27:53 +0000 (15:27 +0000)
committerTom Hacohen <tom@stosb.com>
Wed, 12 Jan 2011 15:27:53 +0000 (15:27 +0000)
SVN revision: 56058

legacy/evas/src/lib/canvas/evas_object_textblock.c

index 3cf221d..cd7638f 100644 (file)
@@ -5040,6 +5040,7 @@ _evas_textblock_node_format_remove(Evas_Object_Textblock *o, Evas_Object_Textblo
 
    o->format_nodes = _NODE_FORMAT(eina_inlist_remove(
            EINA_INLIST_GET(o->format_nodes), EINA_INLIST_GET(n)));
+   _evas_textblock_node_format_free(n);
 }
 
 /**