[tracker/rss-enclosures] tracker-status: plug a leak



commit 880e1b3042fee59ab6acae2846fbd4c1ff3b8640
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]