summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;