summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSubodh Kumar <s7158.kumar@samsung.com>2015-10-19 11:34:38 -0700
committerCedric BAIL <cedric@osg.samsung.com>2015-10-19 11:34:41 -0700
commit69c2b13474b84fa7c8fd9f3942ab89c0d346af79 (patch)
tree6c069a84605418a638c6cd9ed42adde70c988961
parente2167fe2a00e75740fc62fdf826d25b919bcd732 (diff)
evas textblock: fix memory leak
Summary: Fix memory leak Delimiter string is being saved using eina_stringshare_replace without any del or free when object is deleted. @fix Test Plan: N/A Reviewers: tasn, herdsman Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D3175 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
-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 ca37af462b..3d302e87eb 100644
--- a/src/lib/evas/canvas/evas_object_textblock.c
+++ b/src/lib/evas/canvas/evas_object_textblock.c
@@ -11533,6 +11533,7 @@ evas_object_textblock_free(Evas_Object *eo_obj)
11533 } 11533 }
11534 if (o->repch) eina_stringshare_del(o->repch); 11534 if (o->repch) eina_stringshare_del(o->repch);
11535 if (o->ellip_ti) _item_free(eo_obj, NULL, _ITEM(o->ellip_ti)); 11535 if (o->ellip_ti) _item_free(eo_obj, NULL, _ITEM(o->ellip_ti));
11536 if (o->bidi_delimiters) eina_stringshare_del(o->bidi_delimiters);
11536 _format_command_shutdown(); 11537 _format_command_shutdown();
11537 11538
11538 /* remove obstacles */ 11539 /* remove obstacles */