summary refs log tree commit diff stats
path: root/hw/net/vhost_net.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2024-03-25 10:40:59 +0000
committerPeter Maydell <peter.maydell@linaro.org>2024-03-25 10:40:59 +0000
commit80e9791a93b856ae959cf0efa04cee53390ed000 (patch)
tree7ece6aa2abd5f2b41104905eb8e02d10d6ca8f07 /hw/net/vhost_net.c
parent853546f8128476eefb701d4a55b2781bb3a46faa (diff)
downloadfocaccia-qemu-80e9791a93b856ae959cf0efa04cee53390ed000.tar.gz
focaccia-qemu-80e9791a93b856ae959cf0efa04cee53390ed000.zip
tests/qtest/npcm7xx_emc_test: Don't leak cmd_line
In test_rx() and test_tx() we allocate a GString *cmd_line
but never free it. This is pretty harmless in a test case, but
Coverity spotted it.

Resolves: Coverity CID 1507122
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-id: 20240312183810.557768-2-peter.maydell@linaro.org
Diffstat (limited to 'hw/net/vhost_net.c')
0 files changed, 0 insertions, 0 deletions