[tracker/multi-insert: 7/11] libtracker-bus: multi-insert: Fix memory leak
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/multi-insert: 7/11] libtracker-bus: multi-insert: Fix memory leak
- Date: Thu, 7 Oct 2010 12:46:07 +0000 (UTC)
commit 9f274cb498975b13e3b5341042a4bec8a84ad1a9
Author: Philip Van Hoof <philip codeminded be>
Date: Thu Oct 7 12:40:39 2010 +0200
libtracker-bus: multi-insert: Fix memory leak
src/libtracker-bus/tracker-bus-fd-update.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-bus/tracker-bus-fd-update.c b/src/libtracker-bus/tracker-bus-fd-update.c
index 2170c3c..1365791 100644
--- a/src/libtracker-bus/tracker-bus-fd-update.c
+++ b/src/libtracker-bus/tracker-bus-fd-update.c
@@ -267,6 +267,7 @@ sparql_update_array_fast_callback (DBusPendingCall *call,
g_simple_async_result_set_op_res_gpointer (fad->res, errors, NULL);
g_simple_async_result_complete (fad->res);
+ g_ptr_array_free (errors, TRUE);
break;
default:
g_assert_not_reached ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]