- 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__archive__
parent
e7084a0c87
commit
f2a5a1ce81
|
@ -275,6 +275,7 @@ void command_print(command_context_t *context, char *format, ...)
|
||||||
/* gotta free up */
|
/* gotta free up */
|
||||||
if (buffer)
|
if (buffer)
|
||||||
free(buffer);
|
free(buffer);
|
||||||
|
va_end(ap);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue