From 6749c36f9d5bfc2205323ec8b9f790f27d160f4c Mon Sep 17 00:00:00 2001 From: monsta Date: Sat, 22 Nov 2014 19:17:34 +0300 Subject: [PATCH] va_start should be paired with va_end Closes https://github.com/mate-desktop/pluma/pull/101 --- pluma/smclient/eggsmclient-xsmp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/pluma/smclient/eggsmclient-xsmp.c b/pluma/smclient/eggsmclient-xsmp.c index a957f50..0d359df 100755 --- a/pluma/smclient/eggsmclient-xsmp.c +++ b/pluma/smclient/eggsmclient-xsmp.c @@ -1152,6 +1152,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;