summaryrefslogtreecommitdiff
path: root/cut-n-paste/smclient
diff options
context:
space:
mode:
authormonsta <[email protected]>2014-11-24 16:16:14 +0300
committerinfirit <[email protected]>2014-12-08 21:46:03 +0100
commitfe2766c7a51edf69efd48b683eff2baac44c8bc8 (patch)
tree2e92750b3b88d5a8c2a20e6559aee83f8c797f00 /cut-n-paste/smclient
parent327620edb07c573f7d96719288603058baaf27aa (diff)
downloadatril-fe2766c7a51edf69efd48b683eff2baac44c8bc8.tar.bz2
atril-fe2766c7a51edf69efd48b683eff2baac44c8bc8.tar.xz
va_start should be paired with va_end
Diffstat (limited to 'cut-n-paste/smclient')
-rw-r--r--cut-n-paste/smclient/eggsmclient-xsmp.c1
1 files changed, 1 insertions, 0 deletions
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;