From 24cdf5340e58c3393ca07a9886f910e66b897f43 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Thu, 24 Jan 2013 18:32:43 +0100 Subject: [PATCH] Add missing va_end() call --- src/libimcv/os_info/os_info.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libimcv/os_info/os_info.c b/src/libimcv/os_info/os_info.c index 92f47519d4..699a91ff5e 100644 --- a/src/libimcv/os_info/os_info.c +++ b/src/libimcv/os_info/os_info.c @@ -214,7 +214,7 @@ METHOD(os_info_t, get_setting, chunk_t, typedef struct { /** - * implements enumerator_t + * implements enumerator_t */ enumerator_t public; @@ -273,6 +273,7 @@ static bool package_enumerator_enumerate(package_enumerator_t *this, ...) pos = strchr(pos, '\t'); if (!pos) { + va_end(args); return FALSE; } name->len = pos++ - name->ptr; -- 2.47.2