From 4bfd0cf7002ecb3855fcb000962298bc4d3049e0 Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Tue, 26 Jul 2011 08:12:41 +0800 Subject: [PATCH] Fix leak of mDNS object in virNetServer * src/rpc/virnetserver.c: Free mDNS object --- src/rpc/virnetserver.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rpc/virnetserver.c b/src/rpc/virnetserver.c index bc7b476dcf..2b9dd4d695 100644 --- a/src/rpc/virnetserver.c +++ b/src/rpc/virnetserver.c @@ -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)