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:
@@ -307,7 +307,7 @@ static struct qemu_plugin_dyn_cb *plugin_get_dyn_cb(GArray **arr)
|
||||
GArray *cbs = *arr;
|
||||
|
||||
if (!cbs) {
|
||||
cbs = g_array_sized_new(false, false,
|
||||
cbs = g_array_sized_new(false, true,
|
||||
sizeof(struct qemu_plugin_dyn_cb), 1);
|
||||
*arr = cbs;
|
||||
}
|
||||
|
Reference in New Issue
Block a user