diff options
author | Lauro Moura <lauromoura@expertisesolutions.com.br> | 2016-06-06 04:26:02 -0300 |
---|---|---|
committer | Felipe Magno de Almeida <felipe@expertisesolutions.com.br> | 2016-06-06 04:32:32 -0300 |
commit | f15ae07188b455656fdb657e8e2ed1ac6bd7e3d2 (patch) | |
tree | 9022cae48d4aebf3536456e29a394376dfb94936 /src | |
parent | 77a2e9744dbb0ac0881cd78d44798ddf6448f662 (diff) | |
download | efl-f15ae07188b455656fdb657e8e2ed1ac6bd7e3d2.tar.gz |
eio: Fix leaks in tests
Diffstat (limited to 'src')
-rw-r--r-- | src/tests/eio/eio_model_test_monitor_add.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tests/eio/eio_model_test_monitor_add.c b/src/tests/eio/eio_model_test_monitor_add.c index 4a97f0ff70..da24eaba8b 100644 --- a/src/tests/eio/eio_model_test_monitor_add.c +++ b/src/tests/eio/eio_model_test_monitor_add.c @@ -38,6 +38,7 @@ _children_removed_cb(void *data EINA_UNUSED, const Eo_Event* event) if(temp_filename && strcmp(filename, temp_filename) == 0) ecore_main_loop_quit(); free(filename); + eina_promise_unref(promise); } return EINA_TRUE; } @@ -60,6 +61,8 @@ _children_added_cb(void *data EINA_UNUSED, const Eo_Event* event) } free(filename); + eina_promise_unref(promise); + return EINA_TRUE; } |