bu5hm4n pushed a commit to branch master.

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

commit c77ba1672e19133448d2dcd9606b5f19c36a6ceb
Author: Marcel Hollerbach <[email protected]>
Date:   Sun Aug 12 10:21:19 2018 +0200

    eio: fix poll backend
    
    it seems that this should have been a pop call, not the function
    pointer. This key eina_array_pop is never used. Nor would the array get
    smaller, so i assume this should be a pop call.
    
    Differential Revision: https://phab.enlightenment.org/D6814
---
 src/lib/eio/eio_monitor_poll.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/eio/eio_monitor_poll.c b/src/lib/eio/eio_monitor_poll.c
index c7f208092c..2788aee84e 100644
--- a/src/lib/eio/eio_monitor_poll.c
+++ b/src/lib/eio/eio_monitor_poll.c
@@ -226,7 +226,7 @@ _eio_monitor_fallback_heavy_cb(void *data, Ecore_Thread 
*thread)
 
         ecore_thread_main_loop_end();
         while (eina_array_count(arr))
-          eina_hash_del_by_key(backend->children, eina_array_pop);
+          eina_hash_del_by_key(backend->children, eina_array_pop(arr));
         eina_array_free(arr);
         eina_iterator_free(it);
      }

-- 


Reply via email to