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

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



On Wed, Nov 14, 2012 at 3:16 PM, Christophe Fergeau <cfergeau redhat com> 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


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