mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Fix leak of mDNS object in virNetServer
* src/rpc/virnetserver.c: Free mDNS object
This commit is contained in:
committed by
Daniel Veillard
parent
268cc6e9d1
commit
4bfd0cf700
@@ -783,6 +783,7 @@ void virNetServerFree(virNetServerPtr srv)
|
||||
VIR_FREE(srv->clients);
|
||||
|
||||
VIR_FREE(srv->mdnsGroupName);
|
||||
virNetServerMDNSFree(srv->mdns);
|
||||
|
||||
#if HAVE_DBUS
|
||||
if (srv->sysbus)
|
||||
|
||||
Reference in New Issue
Block a user