From f736b24935d66733e9a53798fbc87dbc8aff9fca Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 16 Sep 2012 11:27:08 +0000 Subject: -fixing #2546 --- src/statistics/gnunet-statistics.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/statistics/gnunet-statistics.c') diff --git a/src/statistics/gnunet-statistics.c b/src/statistics/gnunet-statistics.c index 671fd35bef..15dedaec13 100644 --- a/src/statistics/gnunet-statistics.c +++ b/src/statistics/gnunet-statistics.c @@ -79,7 +79,8 @@ printer (void *cls, const char *subsystem, const char *name, uint64_t value, int is_persistent) { struct GNUNET_TIME_Absolute now = GNUNET_TIME_absolute_get(); - char * now_str; + const char * now_str; + if (quiet == GNUNET_NO) { if (GNUNET_YES == watch) @@ -89,7 +90,6 @@ printer (void *cls, const char *subsystem, const char *name, uint64_t value, now_str, is_persistent ? "!" : " ", subsystem, _(name), (unsigned long long) value); - GNUNET_free (now_str); } else { -- cgit v1.2.3-18-g5258