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

Peter Krempa pkrempa at redhat.com
Mon Apr 29 06:59:58 UTC 2019


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190429/dfc9f630/attachment-0001.sig>


More information about the libvir-list mailing list