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

[Libvir] [PATCH] Plug saslUsernameWhitelist leak.



Here's the last one:

	Plug saslUsernameWhitelist leak.
	* qemud/qemud.c (qemudCleanup): Free the array as well as
	the strings in it.

Signed-off-by: Jim Meyering <meyering redhat com>
---
 qemud/qemud.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/qemud/qemud.c b/qemud/qemud.c
index 7ccc9ee..96fdf32 100644
--- a/qemud/qemud.c
+++ b/qemud/qemud.c
@@ -1661,6 +1661,7 @@ static void qemudCleanup(struct qemud_server *server) {
             free(*list);
             list++;
         }
+        free(server->saslUsernameWhitelist);
     }
 #endif

--
1.5.4.3.366.g55277


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