[tracker-miners/wip/carlosg/shuffle-libtracker-miner: 92/116] tests/libtracker-miner: Fix memory leaks
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners/wip/carlosg/shuffle-libtracker-miner: 92/116] tests/libtracker-miner: Fix memory leaks
- Date: Thu, 12 Dec 2019 10:28:37 +0000 (UTC)
commit 529a544bba2aa8c0b956836f4b43473750b68fc4
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 ff6e52f32..eb4b8b4a8 100644
--- a/tests/libtracker-miner/tracker-file-notifier-test.c
+++ b/tests/libtracker-miner/tracker-file-notifier-test.c
@@ -320,13 +320,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]