mirror of https://gitee.com/openkylin/libvirt.git
Fix leak of mDNS object in virNetServer
* src/rpc/virnetserver.c: Free mDNS object
This commit is contained in:
parent
268cc6e9d1
commit
4bfd0cf700
|
@ -783,6 +783,7 @@ void virNetServerFree(virNetServerPtr srv)
|
||||||
VIR_FREE(srv->clients);
|
VIR_FREE(srv->clients);
|
||||||
|
|
||||||
VIR_FREE(srv->mdnsGroupName);
|
VIR_FREE(srv->mdnsGroupName);
|
||||||
|
virNetServerMDNSFree(srv->mdns);
|
||||||
|
|
||||||
#if HAVE_DBUS
|
#if HAVE_DBUS
|
||||||
if (srv->sysbus)
|
if (srv->sysbus)
|
||||||
|
|
Loading…
Reference in New Issue