summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2014-11-22 19:17:34 +0300
committerStefano Karapetsas <[email protected]>2014-11-27 14:38:42 +0100
commit6749c36f9d5bfc2205323ec8b9f790f27d160f4c (patch)
tree8d10621ccb6ac6bb2c7a2b033d64985ba7a98b4b
parent5d01c1ec9cabf3ccf1c6b0b81b421e98984c571e (diff)
downloadpluma-6749c36f9d5bfc2205323ec8b9f790f27d160f4c.tar.bz2
pluma-6749c36f9d5bfc2205323ec8b9f790f27d160f4c.tar.xz
va_start should be paired with va_end
Closes https://github.com/mate-desktop/pluma/pull/101
-rwxr-xr-xpluma/smclient/eggsmclient-xsmp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pluma/smclient/eggsmclient-xsmp.c b/pluma/smclient/eggsmclient-xsmp.c
index a957f50d..0d359df8 100755
--- a/pluma/smclient/eggsmclient-xsmp.c
+++ b/pluma/smclient/eggsmclient-xsmp.c
@@ -1152,6 +1152,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;