summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2014-11-29 12:41:38 +0300
committerinfirit <[email protected]>2014-12-10 10:38:37 +0100
commit15771ce4ea5245d07c33b3812763684f03669e93 (patch)
tree04fa3052a667ac3322492a5ac6daddb2141960f4
parent499fa21c3070a5230770dcab80ff617a94281f69 (diff)
downloadcaja-15771ce4ea5245d07c33b3812763684f03669e93.tar.bz2
caja-15771ce4ea5245d07c33b3812763684f03669e93.tar.xz
va_start should be paired with va_end
-rw-r--r--cut-n-paste-code/libegg/eggsmclient-xsmp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cut-n-paste-code/libegg/eggsmclient-xsmp.c b/cut-n-paste-code/libegg/eggsmclient-xsmp.c
index 454ccaf1..e429bcc2 100644
--- a/cut-n-paste-code/libegg/eggsmclient-xsmp.c
+++ b/cut-n-paste-code/libegg/eggsmclient-xsmp.c
@@ -1161,6 +1161,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;