summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWoochanlee <wc0917.lee@samsung.com>2020-12-08 12:16:22 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-12-08 12:17:57 +0000
commitcfd17f145ace345f08581cd17b9328eaf56812e2 (patch)
treed19e350d341c1d1f3ad4a8445115e3bf66a2d3fc
parent25dba9ebcf7b5a1329d6d716b0fb783883e4a6d6 (diff)
edje_util: Fix memory leak
Summary: evas_object_data_set call callc for internal node. It's not free before call evas_object_data_del or evas_object_data_set(obj, NULL) Reviewers: raster, cedric, Hermet Reviewed By: raster Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12205
-rw-r--r--src/lib/edje/edje_util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/edje/edje_util.c b/src/lib/edje/edje_util.c
index 4d9a9dc369..af465288e7 100644
--- a/src/lib/edje/edje_util.c
+++ b/src/lib/edje/edje_util.c
@@ -6384,6 +6384,7 @@ _edje_real_part_swallow_clear(Edje *ed, Edje_Real_Part *rp)
6384 rp); 6384 rp);
6385 evas_object_clip_unset(rp->typedata.swallow->swallowed_object); 6385 evas_object_clip_unset(rp->typedata.swallow->swallowed_object);
6386 evas_object_data_del(rp->typedata.swallow->swallowed_object, "\377 edje.swallowing_part"); 6386 evas_object_data_del(rp->typedata.swallow->swallowed_object, "\377 edje.swallowing_part");
6387 evas_object_data_del(rp->typedata.swallow->swallowed_object, ".edje");
6387 _edje_callbacks_del(rp->typedata.swallow->swallowed_object, ed); 6388 _edje_callbacks_del(rp->typedata.swallow->swallowed_object, ed);
6388 _edje_callbacks_focus_del(rp->typedata.swallow->swallowed_object, ed); 6389 _edje_callbacks_focus_del(rp->typedata.swallow->swallowed_object, ed);
6389 rp->typedata.swallow->swallowed_object = NULL; 6390 rp->typedata.swallow->swallowed_object = NULL;