diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2024-03-14 09:07:46 -1000 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2024-04-30 16:12:05 -0700 |
commit | 25875fe92eb55e905655dcdf5f06f89ef2c1f404 (patch) | |
tree | 3ceef51b49b963e4994b9e44c3d94e4210ee73ca /plugins | |
parent | 83a0ad26737b9bca3b09fc8d27163ef6a0f28bd9 (diff) |
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 'plugins')
-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; } |