summaryrefslogtreecommitdiff
path: root/libeggsmclient
diff options
context:
space:
mode:
authorMonsta <[email protected]>2014-11-06 14:58:12 +0300
committerinfirit <[email protected]>2014-12-15 23:14:18 +0100
commite9b171514af734cbc413452804f2d9201fb513c3 (patch)
treed7a871beefaeb5381ef2219cf0b9ed7123f3b98b /libeggsmclient
parent0b62f8fee90654744ad19127cca58017f7a44d78 (diff)
downloadmate-utils-e9b171514af734cbc413452804f2d9201fb513c3.tar.bz2
mate-utils-e9b171514af734cbc413452804f2d9201fb513c3.tar.xz
va_start should be paired with va_end
Diffstat (limited to 'libeggsmclient')
-rw-r--r--libeggsmclient/eggsmclient-xsmp.c1
1 files changed, 1 insertions, 0 deletions
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;