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

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



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


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