summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2014-11-04 19:21:31 +0300
committerinfirit <[email protected]>2014-12-15 14:31:27 +0100
commit9cfd52ee10956ec506d2578199cf32ae205cf274 (patch)
treeda1e9303aaf7d96280619d7ff962dd12ab8adb4c
parent321de1a610aeaff984eb4177dbb4fefd27b8a4f3 (diff)
downloadmate-session-manager-9cfd52ee10956ec506d2578199cf32ae205cf274.tar.bz2
mate-session-manager-9cfd52ee10956ec506d2578199cf32ae205cf274.tar.xz
va_start should be paired with va_end
-rw-r--r--egg/eggsmclient-xsmp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/egg/eggsmclient-xsmp.c b/egg/eggsmclient-xsmp.c
index 7a2cbe1..79edd82 100644
--- a/egg/eggsmclient-xsmp.c
+++ b/egg/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;