diff mbox series

[PULL,03/20] plugins: Zero new qemu_plugin_dyn_cb entries

Message ID 20240501143739.10541-4-richard.henderson@linaro.org
State Accepted
Commit 25875fe92eb55e905655dcdf5f06f89ef2c1f404
Headers show
Series [PULL,01/20] tcg: Make tcg/helper-info.h self-contained | expand

Commit Message

Richard Henderson May 1, 2024, 2:37 p.m. UTC
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
 plugins/core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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;
     }