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:
parent
6d0aa6dc05
commit
0db9f18a18
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue