- arg list now correctly released on error. Thanks Øyvind Harboe

git-svn-id: svn://svn.berlios.de/openocd/trunk@306 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
ntfreak 2008-02-18 16:54:18 +00:00
parent e7084a0c87
commit f2a5a1ce81
1 changed files with 1 additions and 0 deletions

View File

@ -275,6 +275,7 @@ void command_print(command_context_t *context, char *format, ...)
/* gotta free up */
if (buffer)
free(buffer);
va_end(ap);
return;
}