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

[libvirt] [PATCH 2/4] Fix leak of mDNS object in virNetServer



From: "Daniel P. Berrange" <berrange redhat com>

* src/rpc/virnetserver.c: Free mDNS object
---
 src/rpc/virnetserver.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/rpc/virnetserver.c b/src/rpc/virnetserver.c
index bc7b476..2b9dd4d 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)
-- 
1.7.6


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