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



commit b963a10f78c187cae39d18dc457d4082ada2bc7d
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]