[libvirt] [PATCH] remote: Add missing virCondDestroy calls

Matthias Bolte matthias.bolte at googlemail.com
Thu Mar 17 19:10:55 UTC 2011


2011/3/17 Laine Stump <laine at laine.org>:
> On 03/17/2011 12:52 PM, Matthias Bolte wrote:
>>
>> The virCond of the remote_thread_call struct was leaked in some
>> places. This results in leaking the underlying mutex. Which in turn
>> leaks a handle on Windows.
>>
>> Reported by Aliaksandr Chabatar and Ihar Smertsin.
>> ---
>>
>> See https://www.redhat.com/archives/libvir-list/2011-March/msg00789.html
>> for the report.
>
> ACK. Looks like you got them all. (I checked other uses of virCondInit for
> appropriate matching virCondDestroy too, and at least my quick look showed
> them all matched up).
>

Yep, I did the same and only found the remote driver affected.

Thanks, pushed.

Matthias




More information about the libvir-list mailing list