[tracker/harmattan-pre-signal-updates: 1294/1380] tracker-status: plug a leak
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/harmattan-pre-signal-updates: 1294/1380] tracker-status: plug a leak
- Date: Wed, 22 Sep 2010 15:43:03 +0000 (UTC)
commit bdc5d7da0f22fda366214e1797a9357cc4f6094f
Author: Aleksander Morgado <aleksander lanedo com>
Date: Tue Sep 14 11:33:33 2010 +0200
tracker-status: plug a leak
src/tracker-utils/tracker-status.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-utils/tracker-status.c b/src/tracker-utils/tracker-status.c
index 0022abb..7d9aa81 100644
--- a/src/tracker-utils/tracker-status.c
+++ b/src/tracker-utils/tracker-status.c
@@ -345,7 +345,7 @@ store_print_state (void)
} else {
progress_str = g_strdup_printf ("â?? ");
}
-
+
g_print ("%s %s %-*.*s %s %s\n",
time_str,
progress_str,
@@ -354,6 +354,8 @@ store_print_state (void)
_("Journal replay"),
status ? "-" : "",
status ? _(status) : "");
+
+ g_free (progress_str);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]