[tracker/dbus-fd-experiment] libtracker-client: Fix DBusPendingCall leak when canceling call
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/dbus-fd-experiment] libtracker-client: Fix DBusPendingCall leak when canceling call
- Date: Wed, 23 Jun 2010 11:45:35 +0000 (UTC)
commit 47030769c012ba03f0afb91bc3dc90b8e32d281e
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]