[libvirt] [PATCH] CONF: bug, release 'alloc' object in cleanup

Wang, Huaqiang huaqiang.wang at intel.com
Mon Apr 29 07:34:38 UTC 2019


My bad. 

Thanks. 



> -----Original Message-----
> From: Peter Krempa [mailto:pkrempa at redhat.com]
> Sent: Monday, April 29, 2019 3:00 PM
> To: Wang, Huaqiang <huaqiang.wang at intel.com>
> Cc: libvir-list at redhat.com
> Subject: Re: [libvirt] [PATCH] CONF: bug, release 'alloc' object in cleanup
> 
> On Sun, Apr 28, 2019 at 16:52:41 +0800, Wang Huaqiang wrote:
> > In case error happens before 'alloc' is transferred to 'resctrl', the
> > 'alloc' object should be released.
> 
> In current upstream it uses VIR_AUTOUNREF, thus the object is unref'd
> automatically when exiting the function.




More information about the libvir-list mailing list