Re: [libvirt-glib v2] gobject: Fix GMutex leak

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

 



On Wed, Nov 14, 2012 at 3:16 PM, Christophe Fergeau <cfergeau@xxxxxxxxxx> wrote:
> When GLib deprecated g_mutex_new/g_mutex_free, we introduced a
> compatibility wrapper to implement these using non-deprecated
> functions. This was done by allocating 0-filled memory by the
> mutex, and then letting GLib initialize the structure when
> needed. However, we must call g_mutex_clear when destroying
> the mutex to free these resources, which this patch fix.

ACK


-- 
Regards,

Zeeshan Ali (Khattak)
FSF member#5124

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[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]