From: Tobias Brunner Date: Thu, 24 Jan 2013 17:32:43 +0000 (+0100) Subject: Add missing va_end() call X-Git-Tag: 5.0.2~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24cdf5340e58c3393ca07a9886f910e66b897f43;p=thirdparty%2Fstrongswan.git Add missing va_end() call --- 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;