fix va_list issue

master-1.22
monsta 2014-11-03 14:14:15 +03:00 committed by infirit
parent 69d6682000
commit 666895ab75
1 changed files with 1 additions and 0 deletions

View File

@ -1195,6 +1195,7 @@ array_prop (const char *name, ...)
pv.value = value; pv.value = value;
g_array_append_val (vals, pv); g_array_append_val (vals, pv);
} }
va_end (ap);
prop->num_vals = vals->len; prop->num_vals = vals->len;
prop->vals = (SmPropValue *)vals->data; prop->vals = (SmPropValue *)vals->data;