[tracker/rss-enclosures] Steroids client: Do not unref dbus call twice when cancelling



commit b24eff1ab4e70722a9e1ed69ed2f9faa204e3be4
Author: Adrien Bustany <abustany gnome org>
Date:   Wed Jun 16 11:00:15 2010 -0400

    Steroids client: Do not unref dbus call twice when cancelling

 src/libtracker-client/tracker.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-client/tracker.c b/src/libtracker-client/tracker.c
index 8c9a53f..ad09ef8 100644
--- a/src/libtracker-client/tracker.c
+++ b/src/libtracker-client/tracker.c
@@ -1405,7 +1405,8 @@ tracker_cancel_call (TrackerClient *client,
 		case FAST_UPDATE:
 		case FAST_UPDATE_BLANK:
 		case FAST_UPDATE_BATCH:
-			dbus_pending_call_unref (async_data->dbus_call);
+			/* dbus_pending_call_cancel does unref the call, so no need to
+			 * unref it here */
 			break;
 		default:
 			g_assert_not_reached ();



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