summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoungbok Shin <youngb.shin@samsung.com>2016-11-29 14:39:01 +0900
committerWooHyun Jung <wh0705.jung@samsung.com>2016-11-29 14:39:01 +0900
commit29ec0aa1946ac6ea494c5afb79f9b4d650f24c5e (patch)
tree111e34fe881c90a7a3b5613acc0f722c80c81361
parent98b0408a4eed5c2beafd4f396b64ca54fb00270f (diff)
downloadefl-29ec0aa1946ac6ea494c5afb79f9b4d650f24c5e.tar.gz
edje entry: fix crash issue due to improper callback handling
Summary: If there were multiple elm_entry objects and some of them were deleted, the callback function would cause crash problem. The callback function only for specific data should be deleted when a entry object is deleted. @fix Test Plan: N/A Reviewers: raster, cedric, herdsman, woohyun, subodh6129 Subscribers: jpeg Differential Revision: https://phab.enlightenment.org/D4435
-rw-r--r--src/lib/edje/edje_entry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/edje/edje_entry.c b/src/lib/edje/edje_entry.c
index 495843a395..0d85a5b368 100644
--- a/src/lib/edje/edje_entry.c
+++ b/src/lib/edje/edje_entry.c
@@ -3037,7 +3037,7 @@ _edje_entry_real_part_shutdown(Edje *ed, Edje_Real_Part *rp)
en->pw_timer = NULL;
}
- evas_event_callback_del(ed->base->evas, EVAS_CALLBACK_CANVAS_VIEWPORT_RESIZE, _canvas_viewport_resize_cb);
+ evas_event_callback_del_full(ed->base->evas, EVAS_CALLBACK_CANVAS_VIEWPORT_RESIZE, _canvas_viewport_resize_cb, rp);
#ifdef HAVE_ECORE_IMF
if (rp->part->entry_mode >= EDJE_ENTRY_EDIT_MODE_EDITABLE)