summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tests/eio/eio_model_test_monitor_add.c3
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;
}