diff options
author | 2024-03-14 09:07:46 -1000 | |
---|---|---|
committer | 2024-04-30 16:12:05 -0700 | |
commit | 25875fe92eb55e905655dcdf5f06f89ef2c1f404 (patch) | |
tree | 3ceef51b49b963e4994b9e44c3d94e4210ee73ca /plugins/core.c | |
parent | tcg: Pass function pointer to tcg_gen_call* (diff) | |
download | qemu-25875fe92eb55e905655dcdf5f06f89ef2c1f404.tar.xz qemu-25875fe92eb55e905655dcdf5f06f89ef2c1f404.zip |
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>
Diffstat (limited to '')
-rw-r--r-- | plugins/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/core.c b/plugins/core.c index 11ca20e626..4487cb7c48 100644 --- a/plugins/core.c +++ b/plugins/core.c @@ -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; } |