diff --git a/src/helper/log.c b/src/helper/log.c index 2a77a2704..a3e8e816e 100644 --- a/src/helper/log.c +++ b/src/helper/log.c @@ -118,6 +118,8 @@ void log_printfnl(enum log_levels level, const char *file, int line, const char va_start(args, format); log_printfv(level, file, line, function, t, args); va_end(args); + + free(t); } /* change the current debug level on the fly