Commit f2a5a1ce authored by ntfreak's avatar ntfreak
Browse files

- 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
parent e7084a0c
......@@ -275,6 +275,7 @@ void command_print(command_context_t *context, char *format, ...)
/* gotta free up */
if (buffer)
free(buffer);
va_end(ap);
return;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment