Evas Textgrid: Don't leak an eina_stringshare when scale_update is

called.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
This commit is contained in:
Chris Michael 2014-02-08 17:16:05 +00:00
parent 0e04219758
commit 6e1b9de112
1 changed files with 1 additions and 0 deletions

View File

@ -1030,6 +1030,7 @@ evas_object_textgrid_scale_update(Evas_Object *eo_obj,
o->cur.font_size = 0;
o->prev.font_size = 0;
evas_object_textgrid_font_set(eo_obj, font_name, font_size);
eina_stringshare_del(font_name);
}
/********************* LOCAL *********************/