summaryrefslogtreecommitdiff
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
parent7685654d768c794069a2c778c082f637ed9bb8de (diff)
downloadefl-c77ba1672e19133448d2dcd9606b5f19c36a6ceb.tar.gz
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
-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)
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);
}