git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee0ef2a
)
Fix bug #10187 - Missing talloc_free can leak stackframe in error path.
author
Jeremy Allison
<jra@samba.org>
Tue, 8 Oct 2013 22:01:38 +0000
(15:01 -0700)
committer
Karolin Seeger
<kseeger@samba.org>
Mon, 14 Oct 2013 08:09:30 +0000
(10:09 +0200)
Fix error path.
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Autobuild-User(master): David Disseldorp <ddiss@samba.org>
Autobuild-Date(master): Wed Oct 9 03:50:56 CEST 2013 on sn-devel-104
source3/winbindd/winbindd_msrpc.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/winbindd_msrpc.c
b/source3/winbindd/winbindd_msrpc.c
index b14a4f87c38dd1dfcaf60c7979bf83fbef0f2943..b426884e896ea70dedbe07c4e3b11a389626d757 100644
(file)
--- a/
source3/winbindd/winbindd_msrpc.c
+++ b/
source3/winbindd/winbindd_msrpc.c
@@
-944,8
+944,9
@@
static NTSTATUS msrpc_trusted_domains(struct winbindd_domain *domain,
}
status = cm_connect_lsa(domain, tmp_ctx, &lsa_pipe, &lsa_policy);
- if (!NT_STATUS_IS_OK(status))
- return status;
+ if (!NT_STATUS_IS_OK(status)) {
+ goto done;
+ }
status = rpc_trusted_domains(tmp_ctx,
lsa_pipe,