[PATCH] testutils: Don't leak @testBitmap and @failedTests

Michal Prívozník mprivozn at redhat.com
Mon Aug 2 12:22:03 UTC 2021


On 8/2/21 2:02 PM, Jano Tomko wrote:
> On a %A in %Y, Michal Privoznik wrote:
>> In virTestMain() the @failedTests bitmap is allocated and
>> optionally @testBitmap too. But neither of them is freed.
>>> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
>> ---
>>  tests/testutils.c | 3 +++
>>  1 file changed, 3 insertions(+)
>>
> 
> Fixes: 0cd5a726e365e67690a81e3ce33ecd0cb0b5178d
> Fixes: cebb468ef5e82b8d4253e27ef70c67812cf93c5a

Ah, didn't realize that somebody might want to backport this. Amended,
thanks.

> 
> Reviewed-by: Ján Tomko <jtomko at redhat.com>
> 
> Jano
> 

Pushed, thanks.

Michal




More information about the libvir-list mailing list