From 30ce5c5ba9c1083d527711d0714a12c293d69489 Mon Sep 17 00:00:00 2001 From: oddsock Date: Thu, 11 Aug 2005 23:17:00 +0000 Subject: [PATCH] memory leak fix.. svn path=/icecast/trunk/icecast/; revision=9732 --- src/logging.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/logging.c b/src/logging.c index 0baa7db3..aea92b23 100644 --- a/src/logging.c +++ b/src/logging.c @@ -89,7 +89,7 @@ int get_clf_time (char *buffer, unsigned len, struct tm *t) thetime = localtime(&now); strftime (buffer, len-7, "%d/%b/%Y:%H:%M:%S", thetime); strcat(buffer, timezone_string); - + free(timezone_string); return 1; } #endif