[tracker/tracker-0.8] libtracker-miner: Fix potential invalid read error
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.8] libtracker-miner: Fix potential invalid read error
- Date: Thu, 1 Jul 2010 16:40:25 +0000 (UTC)
commit 06ee32c1d191678ae773bc55593cc799faa57d52
Author: Aleksander Morgado <aleksander lanedo com>
Date: Thu Jul 1 12:32:41 2010 +0200
libtracker-miner: Fix potential invalid read error
src/libtracker-miner/tracker-miner-object.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-miner-object.c b/src/libtracker-miner/tracker-miner-object.c
index 466e54c..1296440 100644
--- a/src/libtracker-miner/tracker-miner-object.c
+++ b/src/libtracker-miner/tracker-miner-object.c
@@ -440,7 +440,7 @@ store_name_monitor_cb (TrackerMiner *miner,
{
GError *error = NULL;
- g_debug ("Store availability has changed to %s",
+ g_debug ("Store availability has changed to %s",
available ? "AVAILABLE" : "UNAVAILABLE");
if (available && miner->private->availability_cookie != 0) {
@@ -1133,9 +1133,8 @@ _tracker_miner_dbus_get_progress (TrackerMiner *miner,
tracker_dbus_request_new (request_id, context, "%s()", __PRETTY_FUNCTION__);
- dbus_g_method_return (context, miner->private->progress);
-
tracker_dbus_request_success (request_id, context);
+ dbus_g_method_return (context, miner->private->progress);
}
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]