]> git.ipfire.org Git - thirdparty/qemu.git/commit
tests/unit/test-char: Avoid using g_alloca()
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 5 Jun 2025 19:20:23 +0000 (21:20 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 10 Jun 2025 10:59:09 +0000 (12:59 +0200)
commit2f014eabc1acc64c403557f5a51fdb1ba43bbdd1
tree3846c33dd7846a929ce22711c8fcec2f18b597b5
parent0ff9cd9a6af54ccaa293e252aa356fb150788099
tests/unit/test-char: Avoid using g_alloca()

Do not use g_alloca(), simply allocate the CharBackend
structure on the stack.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20250605193540.59874-4-philmd@linaro.org>
tests/unit/test-char.c