git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
202525d
)
s4-gensec: prevent a double free in the error path of GSSAPI auth
author
Andrew Tridgell
<tridge@samba.org>
Thu, 23 Sep 2010 05:28:58 +0000
(22:28 -0700)
committer
Andrew Tridgell
<tridge@samba.org>
Thu, 23 Sep 2010 07:17:57 +0000
(07:17 +0000)
the caller frees mem_ctx, so we shouldn't
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
source4/auth/gensec/socket.c
patch
|
blob
|
history
diff --git
a/source4/auth/gensec/socket.c
b/source4/auth/gensec/socket.c
index 6a03f0bcecaedca1b015d442a7ad2ed6c33c9972..8ee6cbc552924bbcd32163f1da1049b7d3f17bce 100644
(file)
--- a/
source4/auth/gensec/socket.c
+++ b/
source4/auth/gensec/socket.c
@@
-77,7
+77,6
@@
_PUBLIC_ NTSTATUS gensec_wrap_packets(struct gensec_security *gensec_security,
mem_ctx,
&unwrapped, &wrapped);
if (!NT_STATUS_IS_OK(nt_status)) {
- talloc_free(mem_ctx);
return nt_status;
}