From 4e71cb7c48fcf74f38ef06d2d4f7c0577869fc87 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 10 Apr 2004 21:38:05 +0000 Subject: r153: Fix memleak (This used to be commit fbeff419913b01bf0e814ada6ec55d56fe90f179) --- source3/nsswitch/winbindd_cm.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/nsswitch') 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); -- cgit