[tracker] tracker-store: Fixed memory corruption
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] tracker-store: Fixed memory corruption
- Date: Sun, 25 Apr 2010 15:18:53 +0000 (UTC)
commit d317e838a46eef2ba25cd411a55251cc8180eebe
Author: Philip Van Hoof <philip codeminded be>
Date: Sun Apr 25 17:02:12 2010 +0200
tracker-store: Fixed memory corruption
src/tracker-store/tracker-resources.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/tracker-store/tracker-resources.c b/src/tracker-store/tracker-resources.c
index 499eb6a..9a0755f 100644
--- a/src/tracker-store/tracker-resources.c
+++ b/src/tracker-store/tracker-resources.c
@@ -271,19 +271,17 @@ query_callback (TrackerDBCursor *cursor, GError *error, gpointer user_data)
dbus_message_iter_close_container (&iter, &rows_iter);
if (loop_error == NULL) {
- dbus_g_method_send_reply (info->context, reply);
-
tracker_dbus_request_success (info->request_id,
info->context);
+ dbus_g_method_send_reply (info->context, reply);
} else {
dbus_message_unref (reply);
- dbus_g_method_return_error (info->context, loop_error);
-
tracker_dbus_request_failed (info->request_id,
info->context,
&loop_error,
NULL);
+ dbus_g_method_return_error (info->context, loop_error);
g_error_free (loop_error);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]