discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=701e046b0b02325329e3f19f6afd7ae3a6c4fdd3

commit 701e046b0b02325329e3f19f6afd7ae3a6c4fdd3
Author: Mike Blumenkrantz <[email protected]>
Date:   Fri Mar 10 15:57:16 2017 -0500

    clear luncher instance icons on bar deletion
    
    ==21266== 3,488 (96 direct, 3,392 indirect) bytes in 2 blocks are 
definitely lost in loss record 10,417 of 10,680
    ==21266==    at 0xE1E5D49: _eina_chained_mempool_alloc_in 
(eina_chained_mempool.c:212)
    ==21266==    by 0xE1E5FDC: eina_chained_mempool_malloc 
(eina_chained_mempool.c:324)
    ==21266==    by 0xE1A016E: eina_mempool_malloc (eina_inline_mempool.x:90)
    ==21266==    by 0xE1A03C2: _eina_list_mempool_list_new (eina_list.c:222)
    ==21266==    by 0xE1A11C5: eina_list_append (eina_list.c:578)
    ==21266==    by 0x2910B667: _bar_fill (bar.c:1565)
    ==21266==    by 0x2910D1A5: _bar_recalculate_job (bar.c:2047)
    ==21266==    by 0xC602C2C: _ecore_job_event_handler (ecore_job.c:98)
    ==21266==    by 0xC5FBBCE: _ecore_call_handler_cb (ecore_private.h:317)
    ==21266==    by 0xC5FCB5D: _ecore_event_call (ecore_events.c:518)
    ==21266==    by 0xC605EEB: _ecore_main_loop_iterate_internal 
(ecore_main.c:2381)
    ==21266==    by 0xC603C99: ecore_main_loop_begin (ecore_main.c:1289)
    ==21266==    by 0x43DD0D: main (e_main.c:1089)
---
 src/modules/luncher/bar.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/modules/luncher/bar.c b/src/modules/luncher/bar.c
index 9f6514d..25aed7f 100644
--- a/src/modules/luncher/bar.c
+++ b/src/modules/luncher/bar.c
@@ -1761,6 +1761,7 @@ _bar_del(void *data, Evas *e EINA_UNUSED, Evas_Object 
*obj EINA_UNUSED, void *ev
 {
    Instance *inst = data;
 
+   _bar_empty(inst);
    e_object_del(E_OBJECT(inst->order));
    E_FREE_FUNC(inst->drop_handler, evas_object_del);
    eina_hash_free(inst->icons_desktop_hash);

-- 


Reply via email to