From c53e2e54750764c9a0eb57a86fd226b4f8711a66 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 4 Oct 2006 16:33:42 +0000 Subject: [PATCH] r19066: Fix a memleak --- source/nsswitch/winbindd_util.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/nsswitch/winbindd_util.c b/source/nsswitch/winbindd_util.c index 4d99b0fbe67..f26ec9232b1 100644 --- a/source/nsswitch/winbindd_util.c +++ b/source/nsswitch/winbindd_util.c @@ -350,6 +350,7 @@ enum winbindd_result init_child_connection(struct winbindd_domain *domain, if ((request == NULL) || (response == NULL) || (state == NULL)) { DEBUG(0, ("talloc failed\n")); + TALLOC_FREE(mem_ctx); continuation(private_data, False); return WINBINDD_ERROR; }