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);
|
va_start(args, format);
|
||||||
log_printfv(level, file, line, function, t, args);
|
log_printfv(level, file, line, function, t, args);
|
||||||
va_end(args);
|
va_end(args);
|
||||||
|
|
||||||
|
free(t);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* change the current debug level on the fly
|
/* change the current debug level on the fly
|
||||||
|
|||||||
Reference in New Issue
Block a user