Re: [PATCH 2/2] bhyve: fix invalid hostsysinfo freeing

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

 



On Tue, Mar 29, 2016 at 03:20:56PM +0300, Maxim Nestratov wrote:
> ---
>  src/bhyve/bhyve_driver.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/bhyve/bhyve_driver.c b/src/bhyve/bhyve_driver.c
> index 4d341b5..5526bb0 100644
> --- a/src/bhyve/bhyve_driver.c
> +++ b/src/bhyve/bhyve_driver.c
> @@ -1172,7 +1172,7 @@ bhyveStateCleanup(void)
>      virObjectUnref(bhyve_driver->domains);
>      virObjectUnref(bhyve_driver->caps);
>      virObjectUnref(bhyve_driver->xmlopt);
> -    virObjectUnref(bhyve_driver->hostsysinfo);
> +    virSysinfoDefFree(bhyve_driver->hostsysinfo);
>      virObjectUnref(bhyve_driver->closeCallbacks);
>      virObjectEventStateFree(bhyve_driver->domainEventState);

ACK


Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

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