summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2004-04-10 21:38:05 +0000
committerVolker Lendecke <vlendec@samba.org>2004-04-10 21:38:05 +0000
commit9c845f07e1161aba74ec4a80b18d865b31fa7df4 (patch)
tree2df03bf15bdb1a7341bccfd3809ccb04b954353b
parent418e5850249df06e0f2f029c26c9d13f4efd2d10 (diff)
downloadsamba-9c845f07e1161aba74ec4a80b18d865b31fa7df4.tar.gz
r153: Fix memleak
-rw-r--r--source/nsswitch/winbindd_cm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/nsswitch/winbindd_cm.c b/source/nsswitch/winbindd_cm.c
index b2d6e861a3d..56810f221ef 100644
--- a/source/nsswitch/winbindd_cm.c
+++ b/source/nsswitch/winbindd_cm.c
@@ -294,6 +294,7 @@ static NTSTATUS cm_open_connection(const struct winbindd_domain *domain, const i
SAFE_FREE(ipc_domain);
SAFE_FREE(ipc_password);
SAFE_FREE(machine_password);
+ SAFE_FREE(machine_krb5_principal);
if (!NT_STATUS_IS_OK(result)) {
add_failed_connection_entry(domain->name, new_conn->controller, result);