[PATCH v2 02/27] libxlMakeDomBuildInfo: Don't use VIR_DISPOSE_N for USB device list

Daniel P. Berrangé berrange at redhat.com
Wed Feb 3 10:59:45 UTC 2021


On Tue, Feb 02, 2021 at 05:55:39PM +0100, Peter Krempa wrote:
> The list isn't secret which would need being disposed of. Just expand
> the array and return failure when adding the NULL terminator similarly
> to how we expand the list for adding devices in a loop.
> 
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
>  src/libxl/libxl_conf.c | 1 -
>  1 file changed, 1 deletion(-)

Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the libvir-list mailing list