Fix leak of mDNS object in virNetServer

* src/rpc/virnetserver.c: Free mDNS object
This commit is contained in:
Daniel P. Berrange 2011-07-26 08:12:41 +08:00 committed by Daniel Veillard
parent 268cc6e9d1
commit 4bfd0cf700
1 changed files with 1 additions and 0 deletions

View File

@ -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)