summaryrefslogtreecommitdiff
path: root/cut-n-paste-code
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 /cut-n-paste-code
parent499fa21c3070a5230770dcab80ff617a94281f69 (diff)
downloadcaja-15771ce4ea5245d07c33b3812763684f03669e93.tar.bz2
caja-15771ce4ea5245d07c33b3812763684f03669e93.tar.xz
va_start should be paired with va_end
Diffstat (limited to 'cut-n-paste-code')
-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;