From e9b171514af734cbc413452804f2d9201fb513c3 Mon Sep 17 00:00:00 2001 From: Monsta Date: Thu, 6 Nov 2014 14:58:12 +0300 Subject: va_start should be paired with va_end --- libeggsmclient/eggsmclient-xsmp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libeggsmclient/eggsmclient-xsmp.c b/libeggsmclient/eggsmclient-xsmp.c index f9741360..0601cd98 100644 --- a/libeggsmclient/eggsmclient-xsmp.c +++ b/libeggsmclient/eggsmclient-xsmp.c @@ -1153,6 +1153,7 @@ array_prop (const char *name, ...) pv.value = value; g_array_append_val (vals, pv); } + va_end (ap); prop->num_vals = vals->len; prop->vals = (SmPropValue *)vals->data; -- cgit v1.2.1