summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <devilhorns@comcast.net>2014-02-08 17:16:05 +0000
committerChris Michael <devilhorns@comcast.net>2014-02-08 17:17:25 +0000
commit6e1b9de11285c07b939f388f76b56deaf332dd76 (patch)
treef6f84ac0c3618450967b3d0a5e960b49f0c86d87
parent0e0421975872c990a69cef82d42487a158dcc08f (diff)
Evas Textgrid: Don't leak an eina_stringshare when scale_update is
called. Signed-off-by: Chris Michael <devilhorns@comcast.net>
-rw-r--r--src/lib/evas/canvas/evas_object_textgrid.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/evas_object_textgrid.c b/src/lib/evas/canvas/evas_object_textgrid.c
index f7a48a43db..a68480e3dc 100644
--- a/src/lib/evas/canvas/evas_object_textgrid.c
+++ b/src/lib/evas/canvas/evas_object_textgrid.c
@@ -1030,6 +1030,7 @@ evas_object_textgrid_scale_update(Evas_Object *eo_obj,
1030 o->cur.font_size = 0; 1030 o->cur.font_size = 0;
1031 o->prev.font_size = 0; 1031 o->prev.font_size = 0;
1032 evas_object_textgrid_font_set(eo_obj, font_name, font_size); 1032 evas_object_textgrid_font_set(eo_obj, font_name, font_size);
1033 eina_stringshare_del(font_name);
1033} 1034}
1034 1035
1035/********************* LOCAL *********************/ 1036/********************* LOCAL *********************/