plugins: Zero new qemu_plugin_dyn_cb entries
Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
83a0ad2673
commit
25875fe92e
@ -307,7 +307,7 @@ static struct qemu_plugin_dyn_cb *plugin_get_dyn_cb(GArray **arr)
|
|||||||
GArray *cbs = *arr;
|
GArray *cbs = *arr;
|
||||||
|
|
||||||
if (!cbs) {
|
if (!cbs) {
|
||||||
cbs = g_array_sized_new(false, false,
|
cbs = g_array_sized_new(false, true,
|
||||||
sizeof(struct qemu_plugin_dyn_cb), 1);
|
sizeof(struct qemu_plugin_dyn_cb), 1);
|
||||||
*arr = cbs;
|
*arr = cbs;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user