summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/evas/canvas/evas_object_text.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/evas_object_text.c b/src/lib/evas/canvas/evas_object_text.c
index 61a8649409..62b0db7262 100644
--- a/src/lib/evas/canvas/evas_object_text.c
+++ b/src/lib/evas/canvas/evas_object_text.c
@@ -973,6 +973,8 @@ _text_text_set(Eo *eo_obj, void *_pd, va_list *list)
973 eina_stringshare_replace(&o->cur.utf8_text, _text); 973 eina_stringshare_replace(&o->cur.utf8_text, _text);
974 o->prev.utf8_text = NULL; 974 o->prev.utf8_text = NULL;
975 975
976 if (o->cur.text != text) free(text);
977
976 o->changed = 1; 978 o->changed = 1;
977 evas_object_change(eo_obj, obj); 979 evas_object_change(eo_obj, obj);
978 evas_object_clip_dirty(eo_obj, obj); 980 evas_object_clip_dirty(eo_obj, obj);