From fe2766c7a51edf69efd48b683eff2baac44c8bc8 Mon Sep 17 00:00:00 2001 From: monsta Date: Mon, 24 Nov 2014 16:16:14 +0300 Subject: va_start should be paired with va_end --- cut-n-paste/smclient/eggsmclient-xsmp.c | 1 + 1 file changed, 1 insertion(+) (limited to 'cut-n-paste') diff --git a/cut-n-paste/smclient/eggsmclient-xsmp.c b/cut-n-paste/smclient/eggsmclient-xsmp.c index 78ecbaea..da85078f 100644 --- a/cut-n-paste/smclient/eggsmclient-xsmp.c +++ b/cut-n-paste/smclient/eggsmclient-xsmp.c @@ -1154,6 +1154,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