[PATCH] Plug saslUsernameWhitelist leak.

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

 



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

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]