woohyun pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=29ec0aa1946ac6ea494c5afb79f9b4d650f24c5e

commit 29ec0aa1946ac6ea494c5afb79f9b4d650f24c5e
Author: Youngbok Shin <youngb.s...@samsung.com>
Date:   Tue Nov 29 14:39:01 2016 +0900

    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
---
 src/lib/edje/edje_entry.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/edje/edje_entry.c b/src/lib/edje/edje_entry.c
index 495843a..0d85a5b 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)

-- 


Reply via email to