summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--egg/eggsmclient-xsmp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/egg/eggsmclient-xsmp.c b/egg/eggsmclient-xsmp.c
index 7a2cbe1..79edd82 100644
--- a/egg/eggsmclient-xsmp.c
+++ b/egg/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;