herdsman pushed a commit to branch master.


commit 648cef1db1b96e5d5dbae58f0dafa78e67958903
Author: Shilpa Singh <shilpa.si...@samsung.com>
Date:   Thu Dec 3 12:50:03 2015 +0200

    edje_entry: Fix crash on selection
    When text is selected, crash happens due to double free as rectangles are 
freed both in _sel_update
    and _evas_textblock_selection_iterator_free hence removing free from 
    @fix T2910
    Test Plan:
    1. Launch elementary test
    2. launch entry demo
    3. select text
    Reviewers: cedric, herdsman
    Subscribers: jpeg
    Maniphest Tasks: T2910
    Differential Revision: https://phab.enlightenment.org/D3401
 src/lib/edje/edje_entry.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/lib/edje/edje_entry.c b/src/lib/edje/edje_entry.c
index 7c6c864..38fb5ff 100644
--- a/src/lib/edje/edje_entry.c
+++ b/src/lib/edje/edje_entry.c
@@ -730,7 +730,6 @@ _sel_update(Edje *ed, Evas_Textblock_Cursor *c EINA_UNUSED, 
Evas_Object *o, Entr
                   evas_object_move(sel->obj_fg, x + r->x, y + r->y);
                   evas_object_resize(sel->obj_fg, r->w, r->h);
-             free(r);


Reply via email to