summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorDaniel Hirt <hirt.danny@gmail.com>2017-02-19 18:10:24 +0200
committerDaniel Hirt <hirt.danny@gmail.com>2017-02-19 19:09:16 +0200
commit66dd98ed6b75fdfcbd24fa6e5fad78ab0a8d587b (patch)
treed2041724bc92de83f7401035c2c174f8cdf18f2d /src/lib
parente0e2dc92f52a8ca50a4564a921fd408f426bc78e (diff)
Canvas text: fix clearing existing style
Fixes T5187. This fixes a leak in evas_textblock_style_user_pop, that made use of the new key-based efl_canvas_text_style_set api. @fix
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/evas/canvas/evas_object_textblock.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/evas_object_textblock.c b/src/lib/evas/canvas/evas_object_textblock.c
index 449c701149..306b66a287 100644
--- a/src/lib/evas/canvas/evas_object_textblock.c
+++ b/src/lib/evas/canvas/evas_object_textblock.c
@@ -6928,6 +6928,7 @@ _efl_canvas_text_style_set(Eo *eo_obj, Efl_Canvas_Text_Data *o, const char *key,
6928 else 6928 else
6929 { 6929 {
6930 o->styles = eina_list_remove(o->styles, ts); 6930 o->styles = eina_list_remove(o->styles, ts);
6931 ts->objects = eina_list_remove(ts->objects, eo_obj);
6931 evas_textblock_style_free(ts); 6932 evas_textblock_style_free(ts);
6932 } 6933 }
6933 6934