[tracker/rss-enclosures] tracker-store: Fixed memory corruption
- From: Roberto Guido <rguido src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/rss-enclosures] tracker-store: Fixed memory corruption
- Date: Mon, 3 May 2010 00:44:35 +0000 (UTC)
commit a19bd677656bf4e2ade4e4842e646c83785a4bba
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]