va_start should be paired with va_end
Closes https://github.com/mate-desktop/pluma/pull/101
This commit is contained in:
parent
5d01c1ec9c
commit
6749c36f9d
|
@ -1152,6 +1152,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