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

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



On 07/25/2011 01:03 PM, Daniel P. Berrange wrote:
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)

ACK.


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