[tracker/tracker-0.10] tracker-miner-fs: Fix ref leak
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.10] tracker-miner-fs: Fix ref leak
- Date: Mon, 1 Aug 2011 16:19:51 +0000 (UTC)
commit f858db1682931de37bb0eba78c9a17cffc4b3619
Author: Carlos Garnacho <carlos lanedo com>
Date: Tue Jul 26 17:21:19 2011 +0200
tracker-miner-fs: Fix ref leak
The created GDBusMessage already sinks the floating reference
to the GVariant, no need to double ref here.
src/miners/fs/tracker-writeback-dispatcher.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/miners/fs/tracker-writeback-dispatcher.c b/src/miners/fs/tracker-writeback-dispatcher.c
index 366f28f..f0b1768 100644
--- a/src/miners/fs/tracker-writeback-dispatcher.c
+++ b/src/miners/fs/tracker-writeback-dispatcher.c
@@ -393,7 +393,7 @@ writeback_dispatcher_writeback_file (TrackerMinerFS *fs,
TRACKER_WRITEBACK_PATH,
TRACKER_WRITEBACK_INTERFACE,
"PerformWriteback",
- g_variant_ref_sink (g_variant_builder_end (&builder)),
+ g_variant_builder_end (&builder),
NULL,
G_DBUS_CALL_FLAGS_NONE,
-1,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]