[tracker] TrackerStatistics: Do not use DBusGMethodInvocation after freeing it.
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] TrackerStatistics: Do not use DBusGMethodInvocation after freeing it.
- Date: Thu, 13 May 2010 13:49:55 +0000 (UTC)
commit e19b98d65b894ad494e9c3cd05d6ffbd55315724
Author: Carlos Garnacho <carlosg gnome org>
Date: Thu May 13 14:59:18 2010 +0200
TrackerStatistics: Do not use DBusGMethodInvocation after freeing it.
src/tracker-store/tracker-statistics.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-store/tracker-statistics.c b/src/tracker-store/tracker-statistics.c
index c586ce8..7918669 100644
--- a/src/tracker-store/tracker-statistics.c
+++ b/src/tracker-store/tracker-statistics.c
@@ -110,11 +110,11 @@ tracker_statistics_get (TrackerStatistics *object,
/* Sort result so it is alphabetical */
g_ptr_array_sort (values, cache_sort_func);
+ tracker_dbus_request_success (request_id, context);
dbus_g_method_return (context, values);
g_ptr_array_foreach (values, (GFunc) g_strfreev, NULL);
g_ptr_array_free (values, TRUE);
- tracker_dbus_request_success (request_id, context);
tracker_dbus_request_unblock_hooks ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]