[tracker: 5/21] tests/libtracker-miner: Fix memory leaks
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker: 5/21] tests/libtracker-miner: Fix memory leaks
- Date: Sun, 17 Feb 2019 20:43:19 +0000 (UTC)
commit e96d01d995bfa8f574eef5a79a773513591926b4
Author: Andrea Azzarone <andrea azzarone canonical com>
Date: Fri Jan 18 18:51:05 2019 +0000
tests/libtracker-miner: Fix memory leaks
tests/libtracker-miner/tracker-file-notifier-test.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/tests/libtracker-miner/tracker-file-notifier-test.c
b/tests/libtracker-miner/tracker-file-notifier-test.c
index 00da7c7bf..e195104b0 100644
--- a/tests/libtracker-miner/tracker-file-notifier-test.c
+++ b/tests/libtracker-miner/tracker-file-notifier-test.c
@@ -321,13 +321,14 @@ test_common_context_teardown (TestCommonContext *fixture,
g_object_unref (fixture->test_file);
}
+ DELETE_FOLDER (fixture, NULL);
+
if (fixture->test_path) {
g_free (fixture->test_path);
}
g_clear_object (&fixture->connection);
-
- DELETE_FOLDER (fixture, NULL);
+ g_main_loop_unref (fixture->main_loop);
}
static gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]