summaryrefslogtreecommitdiff
path: root/src/lib/eio
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2018-08-12 10:21:19 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2018-08-12 14:25:09 +0200
commitc77ba1672e19133448d2dcd9606b5f19c36a6ceb (patch)
tree188d8ea7f6b488ee5e9ff9d1a8ef6dbc96842dea /src/lib/eio
parent7685654d768c794069a2c778c082f637ed9bb8de (diff)
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
Diffstat (limited to 'src/lib/eio')
-rw-r--r--src/lib/eio/eio_monitor_poll.c2
1 files changed, 1 insertions, 1 deletions
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)
226 226
227 ecore_thread_main_loop_end(); 227 ecore_thread_main_loop_end();
228 while (eina_array_count(arr)) 228 while (eina_array_count(arr))
229 eina_hash_del_by_key(backend->children, eina_array_pop); 229 eina_hash_del_by_key(backend->children, eina_array_pop(arr));
230 eina_array_free(arr); 230 eina_array_free(arr);
231 eina_iterator_free(it); 231 eina_iterator_free(it);
232 } 232 }