From f2a5a1ce8125936f7d96254da7e1f77867b3cb7b Mon Sep 17 00:00:00 2001 From: ntfreak Date: Mon, 18 Feb 2008 16:54:18 +0000 Subject: [PATCH] =?utf8?q?-=20arg=20list=20now=20correctly=20released=20on?= =?utf8?q?=20error.=20Thanks=20=C3=98yvind=20Harboe?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: svn://svn.berlios.de/openocd/trunk@306 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/helper/command.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/helper/command.c b/src/helper/command.c index 8b7ad36e..df12ffc1 100644 --- a/src/helper/command.c +++ b/src/helper/command.c @@ -275,6 +275,7 @@ void command_print(command_context_t *context, char *format, ...) /* gotta free up */ if (buffer) free(buffer); + va_end(ap); return; } -- 2.39.5