summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-10-04 16:33:42 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:15:07 -0500
commit7bce558fec4b50aaaf61894602955488603988cd (patch)
treed20b7b9e8e5605b4a173c8fc6159be57cc98ca94 /source3/nsswitch
parent9989649fb47cba43b50465b77f62418b278bd127 (diff)
downloadsamba-7bce558fec4b50aaaf61894602955488603988cd.tar.gz
samba-7bce558fec4b50aaaf61894602955488603988cd.tar.bz2
samba-7bce558fec4b50aaaf61894602955488603988cd.zip
r19066: Fix a memleak
(This used to be commit c53e2e54750764c9a0eb57a86fd226b4f8711a66)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/winbindd_util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/nsswitch/winbindd_util.c b/source3/nsswitch/winbindd_util.c
index 4d99b0fbe6..f26ec9232b 100644
--- a/source3/nsswitch/winbindd_util.c
+++ b/source3/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;
}