From 3f847bccca5feab26b5e756ec064109ec6aa01fa Mon Sep 17 00:00:00 2001 From: monsta Date: Sat, 22 Nov 2014 23:01:26 +0300 Subject: va_start should be paired with va_end --- copy-n-paste/eggsmclient-xsmp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/copy-n-paste/eggsmclient-xsmp.c b/copy-n-paste/eggsmclient-xsmp.c index f974136..0601cd9 100644 --- a/copy-n-paste/eggsmclient-xsmp.c +++ b/copy-n-paste/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