diff options
author | Philippe Mathieu-Daudé <philmd@redhat.com> | 2022-08-19 16:39:23 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2022-09-22 16:38:28 +0100 |
commit | d34977d682e382fb2af83e6e6508e3b06d1a3cf2 (patch) | |
tree | 1810a0e6443afa85f03f6b7e839ae66a7fee4410 /io/channel-null.c | |
parent | 1e3acd33576c695262a09262c9319d44a01b11e7 (diff) |
chardev/baum: Avoid dynamic stack allocation
Use autofree heap allocation instead of variable-length
array on the stack.
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20220819153931.3147384-4-peter.maydell@linaro.org
Diffstat (limited to 'io/channel-null.c')
0 files changed, 0 insertions, 0 deletions