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:
oharboe 2008-02-28 14:23:32 +00:00
parent 6d0aa6dc05
commit 0db9f18a18
1 changed files with 2 additions and 0 deletions

View File

@ -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