mirror of
https://github.com/linux-msm/openocd.git
synced 2026-02-25 13:15:07 -08:00
Pavel Chromy spotted a leak
git-svn-id: svn://svn.berlios.de/openocd/trunk@380 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user