[tracker/miner-fs-refactor] libtracker-bus: Consistently use g_ptr_array_unref instead of g_ptr_array_free



commit d15dca55f6ab2f6138732c09b4a742b8a8902dc1
Author: Philip Van Hoof <philip codeminded be>
Date:   Thu Oct 7 14:49:18 2010 +0200

    libtracker-bus: Consistently use g_ptr_array_unref instead of g_ptr_array_free

 src/libtracker-bus/tracker-bus-fd-update.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-bus/tracker-bus-fd-update.c b/src/libtracker-bus/tracker-bus-fd-update.c
index b85e82d..57e40c9 100644
--- a/src/libtracker-bus/tracker-bus-fd-update.c
+++ b/src/libtracker-bus/tracker-bus-fd-update.c
@@ -268,7 +268,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);
+		g_ptr_array_unref (errors);
 		break;
 	default:
 		g_assert_not_reached ();



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