[libvirt] [PATCH v2 22/41] util: usb: modify virUSBDeviceListAdd to take double pointer

Erik Skultety eskultet at redhat.com
Fri Jul 27 14:01:01 UTC 2018


On Tue, Jul 24, 2018 at 09:22:23PM +0530, Sukrit Bhatnagar wrote:
> Modify virUSBDeviceListAdd to take a double pointer to
> virUSBDevicePtr as the second argument. This will enable usage
> of cleanup macros upon the virUSBDevicePtr item which is to be
> added to the list as it will be cleared by virInsertElementsN
> upon success.
>
> Signed-off-by: Sukrit Bhatnagar <skrtbhtngr at gmail.com>
> ---
Reviewed-by: Erik Skultety <eskultet at redhat.com>




More information about the libvir-list mailing list