summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormonsta <[email protected]>2014-11-03 14:14:15 +0300
committerinfirit <[email protected]>2014-12-15 22:05:02 +0100
commit666895ab751722ef5a9b7ae29cb15c5ffb8d77d3 (patch)
treed26af8e738cffba142cff43c0c11d5b4857cd548 /src
parent69d668200026623398304475d8f1983a3c437e4d (diff)
downloadmate-terminal-666895ab751722ef5a9b7ae29cb15c5ffb8d77d3.tar.bz2
mate-terminal-666895ab751722ef5a9b7ae29cb15c5ffb8d77d3.tar.xz
fix va_list issue
Diffstat (limited to 'src')
-rw-r--r--src/eggsmclient-xsmp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/eggsmclient-xsmp.c b/src/eggsmclient-xsmp.c
index 8d1c501..2c55b13 100644
--- a/src/eggsmclient-xsmp.c
+++ b/src/eggsmclient-xsmp.c
@@ -1195,6 +1195,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;