fix va_list issue
parent
69d6682000
commit
666895ab75
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue