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

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

 



My bad. 

Thanks. 



> -----Original Message-----
> From: Peter Krempa [mailto:pkrempa@xxxxxxxxxx]
> Sent: Monday, April 29, 2019 3:00 PM
> To: Wang, Huaqiang <huaqiang.wang@xxxxxxxxx>
> Cc: libvir-list@xxxxxxxxxx
> Subject: Re:  [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.

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

  Powered by Linux