discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=4446442163b6a4393460ee137902be0192ae0324

commit 4446442163b6a4393460ee137902be0192ae0324
Author: Mike Blumenkrantz <m.blumenk...@samsung.com>
Date:   Mon Oct 7 04:15:18 2013 +0100

    remove gadcons from custom populate job during deletion
    
    this showed up on my valgrind radar while xrandring, so it's safety time
---
 src/bin/e_gadcon.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/bin/e_gadcon.c b/src/bin/e_gadcon.c
index 919ec72..6e5cfff 100644
--- a/src/bin/e_gadcon.c
+++ b/src/bin/e_gadcon.c
@@ -2011,6 +2011,8 @@ _e_gadcon_free(E_Gadcon *gc)
         gadcons = eina_list_remove(gadcons, gc);
      }
    eina_list_free(gc->populated_classes);
+   if (custom_populate_requests)
+     custom_populate_requests = eina_list_remove(custom_populate_requests, gc);
    if (gc->o_container) evas_object_del(gc->o_container);
    eina_stringshare_del(gc->name);
    eina_stringshare_del(gc->edje.swallow_name);

-- 


Reply via email to