[tracker/direct-access] libtracker-bus: Fix crash on update



commit 7444e7b2e34965d4ba4d1d65f93bf365049c98ed
Author: Jürg Billeter <j bitron ch>
Date:   Thu Jul 22 12:26:26 2010 +0200

    libtracker-bus: Fix crash on update

 src/libtracker-bus/tracker-bus-fd-update.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-bus/tracker-bus-fd-update.c b/src/libtracker-bus/tracker-bus-fd-update.c
index a6daa9e..bd753c8 100644
--- a/src/libtracker-bus/tracker-bus-fd-update.c
+++ b/src/libtracker-bus/tracker-bus-fd-update.c
@@ -183,6 +183,8 @@ sparql_update_fast_callback (DBusPendingCall *call,
 	/* Call iterator callback */
 	switch (fad->operation_type) {
 	case FAST_UPDATE:
+		g_simple_async_result_complete (fad->res);
+		break;
 	case FAST_UPDATE_BLANK:
 		result = g_ptr_array_new_with_free_func (free_inner_array);
 		dbus_message_iter_init (reply, &iter);



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