summaryrefslogtreecommitdiff
path: root/libeggsmclient
diff options
context:
space:
mode:
Diffstat (limited to 'libeggsmclient')
-rw-r--r--libeggsmclient/eggsmclient-xsmp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libeggsmclient/eggsmclient-xsmp.c b/libeggsmclient/eggsmclient-xsmp.c
index f9741360..0601cd98 100644
--- a/libeggsmclient/eggsmclient-xsmp.c
+++ b/libeggsmclient/eggsmclient-xsmp.c
@@ -1153,6 +1153,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;