[tracker/rss-enclosures] libtracker-client: Fix DBusPendingCall leak when canceling call



commit c0cdd3f17f35a610eed566deb630d97494282eaa
Author: Jürg Billeter <j bitron ch>
Date:   Wed Jun 23 13:39:27 2010 +0200

    libtracker-client: Fix DBusPendingCall leak when canceling call

 src/libtracker-client/tracker.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-client/tracker.c b/src/libtracker-client/tracker.c
index d4d7c20..4b32394 100644
--- a/src/libtracker-client/tracker.c
+++ b/src/libtracker-client/tracker.c
@@ -1523,6 +1523,7 @@ tracker_cancel_call (TrackerClient *client,
 
 		if (fad->dbus_call) {
 			dbus_pending_call_cancel (fad->dbus_call);
+			dbus_pending_call_unref (fad->dbus_call);
 			fad->dbus_call = NULL;
 		}
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]