From da1a4d78c173bbd1748356c56b4aba8733a3e550 Mon Sep 17 00:00:00 2001 From: Marcel Hollerbach Date: Sun, 12 Aug 2018 10:21:19 +0200 Subject: [PATCH] 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 c7f2080..2788aee 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); } -- 2.7.4