aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2013-01-24 18:32:43 +0100
committerTobias Brunner <tobias@strongswan.org>2013-01-24 19:13:41 +0100
commit24cdf5340e58c3393ca07a9886f910e66b897f43 (patch)
treedd48b173e34400c9e9f0d67ba79e6fbd23c5832d
parent69c6a601769c0c642acbfd28c2924fef3140b2b1 (diff)
downloadstrongswan-24cdf5340e58c3393ca07a9886f910e66b897f43.tar.bz2
strongswan-24cdf5340e58c3393ca07a9886f910e66b897f43.tar.xz
Add missing va_end() call
-rw-r--r--src/libimcv/os_info/os_info.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libimcv/os_info/os_info.c b/src/libimcv/os_info/os_info.c
index 92f47519d..699a91ff5 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;