Re: [PATCH 2/4] virchrdev: Don't leak mutex if virChrdevAlloc() fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 08, 2020 at 09:18:30AM +0100, Michal Privoznik wrote:
> This is only a theoretical leak, but in virChrdevAlloc() we
> initialize a mutex and if creating a hash table fails,
> then virChrdevFree() is called which because of incorrect check
> doesn't deinit the mutex.
>
> Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
> ---
Reviewed-by: Erik Skultety <eskultet@xxxxxxxxxx>





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux