diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2024-03-25 10:40:59 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2024-03-25 10:40:59 +0000 |
commit | 80e9791a93b856ae959cf0efa04cee53390ed000 (patch) | |
tree | 7ece6aa2abd5f2b41104905eb8e02d10d6ca8f07 /tests/qapi-schema/qapi-schema-test.out | |
parent | 853546f8128476eefb701d4a55b2781bb3a46faa (diff) |
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 'tests/qapi-schema/qapi-schema-test.out')
0 files changed, 0 insertions, 0 deletions