[tracker/async-queries-wip: 6/23] TrackerDBInterfacePool: Fix memory leak.
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/async-queries-wip: 6/23] TrackerDBInterfacePool: Fix memory leak.
- Date: Thu, 15 Apr 2010 12:13:19 +0000 (UTC)
commit 1501d41dd2bbd63ead87d303f38af2f9050a499f
Author: Carlos Garnacho <carlosg gnome org>
Date: Tue Apr 13 16:42:43 2010 +0200
TrackerDBInterfacePool: Fix memory leak.
src/libtracker-db/tracker-db-manager.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-db/tracker-db-manager.c b/src/libtracker-db/tracker-db-manager.c
index 6277ca5..858d2e2 100644
--- a/src/libtracker-db/tracker-db-manager.c
+++ b/src/libtracker-db/tracker-db-manager.c
@@ -1379,6 +1379,7 @@ interface_pool_dispatch_cb (gpointer data,
if (job->cancellable &&
g_cancellable_set_error_if_cancelled (job->cancellable, &error)) {
g_simple_async_result_set_from_error (G_SIMPLE_ASYNC_RESULT (job->async_result), error);
+ g_object_unref (result_set);
g_error_free (error);
} else {
g_simple_async_result_set_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (job->async_result),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]