[tracker/rss-enclosures] Steroids client: Do not leak in fast_async_callback_iterator
- From: Roberto Guido <rguido src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/rss-enclosures] Steroids client: Do not leak in fast_async_callback_iterator
- Date: Sat, 26 Jun 2010 23:26:15 +0000 (UTC)
commit 405086951f01f0010cf93773eaa39e921c1cd713
Author: Adrien Bustany <abustany gnome org>
Date: Thu Jun 17 10:24:28 2010 -0400
Steroids client: Do not leak in fast_async_callback_iterator
src/libtracker-client/tracker.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-client/tracker.c b/src/libtracker-client/tracker.c
index 6b52401..104ca6b 100644
--- a/src/libtracker-client/tracker.c
+++ b/src/libtracker-client/tracker.c
@@ -625,6 +625,7 @@ fast_async_callback_iterator (GObject *source_object,
tracker_result_iterator_free (iterator);
dbus_pending_call_unref (data->dbus_call);
g_error_free (inner_error);
+ g_slice_free (FastAsyncData, data);
return;
}
@@ -658,6 +659,8 @@ fast_async_callback_iterator (GObject *source_object,
dbus_pending_call_unref (data->dbus_call);
(* data->iterator_callback) (iterator, NULL, data->user_data);
+
+ g_slice_free (FastAsyncData, data);
}
#else /* HAVE_DBUS_FD_PASSING */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]