]> xenbits.xensource.com Git - libvirt.git/commit
testutils: Don't leak @testBitmap and @failedTests
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 29 Jul 2021 13:53:16 +0000 (15:53 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 2 Aug 2021 12:14:33 +0000 (14:14 +0200)
commit77f7067059a59a1b15e898f64944a7a06ae9f675
tree372dfa1b5992175cf1a2ad7a83e47334b02d963d
parent7d661d6e20fe82e5472d5ab6dcd97ed76291f256
testutils: Don't leak @testBitmap and @failedTests

In virTestMain() the @failedTests bitmap is allocated and
optionally @testBitmap too. But neither of them is freed.

Fixes: 0cd5a726e365e67690a81e3ce33ecd0cb0b5178d
Fixes: cebb468ef5e82b8d4253e27ef70c67812cf93c5a
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/testutils.c