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