raster pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=513e75152e4a960f49f4eeb12408fc2b9a324ba4

commit 513e75152e4a960f49f4eeb12408fc2b9a324ba4
Author: wonguk.jeong <[email protected]>
Date:   Fri Apr 4 12:18:48 2014 +0900

    plug: fix SEGV of elementary_test during reconnecting
    
    Summary:
    problem:
    1. open window socket
    2. open window plug
    3. close window socket
    4. open window socket
    5. SEGV
    
    there was invalid timer deletion due to dangling pointer.
    
    @fix
    
    Test Plan: elementary_test -> open window socket -> open window plug -> 
close window socket -> open window socket ->SEGV
    
    Reviewers: raster, seoz
    
    Reviewed By: raster
    
    CC: seoz
    
    Differential Revision: https://phab.enlightenment.org/D699
---
 src/bin/test_win_plug.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/bin/test_win_plug.c b/src/bin/test_win_plug.c
index 1fbbde2..3557dc9 100644
--- a/src/bin/test_win_plug.c
+++ b/src/bin/test_win_plug.c
@@ -35,6 +35,7 @@ cb_plug_connect(void *data)
    if (elm_plug_connect(obj, "ello", 0, EINA_FALSE))
      {
         printf("plug connect to server[ello]\n");
+        evas_object_data_del(obj, "test-timer");
         return ECORE_CALLBACK_CANCEL;
      }
 

-- 


Reply via email to