summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2004-04-10 21:38:05 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:51:11 -0500
commit4e71cb7c48fcf74f38ef06d2d4f7c0577869fc87 (patch)
tree12f0e6b0e1f4d9650fb3b10e9c7261d0dc309df8 /source3
parentcd9b973b176f50ba0082305ffb0f63067f36e7d6 (diff)
downloadsamba-4e71cb7c48fcf74f38ef06d2d4f7c0577869fc87.tar.gz
samba-4e71cb7c48fcf74f38ef06d2d4f7c0577869fc87.tar.bz2
samba-4e71cb7c48fcf74f38ef06d2d4f7c0577869fc87.zip
r153: Fix memleak
(This used to be commit fbeff419913b01bf0e814ada6ec55d56fe90f179)
Diffstat (limited to 'source3')
-rw-r--r--source3/nsswitch/winbindd_cm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/nsswitch/winbindd_cm.c b/source3/nsswitch/winbindd_cm.c
index b2d6e861a3..56810f221e 100644
--- a/source3/nsswitch/winbindd_cm.c
+++ b/source3/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);