Re: [PATCH 1/7] tests/qtest/npcm7xx_emc_test: Don't leak cmd_line

2024-03-12 Thread Thomas Huth
On 12/03/2024 19.38, Peter Maydell wrote: 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 --- tests/qtest/npcm7xx_emc-test.c | 4 ++-- 1

Re: [PATCH 1/7] tests/qtest/npcm7xx_emc_test: Don't leak cmd_line

2024-03-12 Thread Thomas Huth
On 12/03/2024 19.38, Peter Maydell wrote: 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 --- tests/qtest/npcm7xx_emc-test.c | 4 ++-- 1

[PATCH 1/7] tests/qtest/npcm7xx_emc_test: Don't leak cmd_line

2024-03-12 Thread Peter Maydell
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 --- tests/qtest/npcm7xx_emc-test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)