summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-03-15 21:53:53 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:18:37 -0500
commit7d77dd9db600a4b2ee11913bf8169224c2d9424a (patch)
treea54ae0114fc04edb2db561d83e39fbc5f35fb965 /source3/smbd
parentca256664aa4b65902b01ddf83564b7602560bd08 (diff)
downloadsamba-7d77dd9db600a4b2ee11913bf8169224c2d9424a.tar.gz
samba-7d77dd9db600a4b2ee11913bf8169224c2d9424a.tar.bz2
samba-7d77dd9db600a4b2ee11913bf8169224c2d9424a.zip
r21847: Fix memory leaks in error paths (and in main code path in one case...)
in sasl bind. Wonder why coverity didn't find these ? Jeremy. (This used to be commit 89bdd30e4b2bb9dbc2ab57c54be8c6d01cae5a26)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/sesssetup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c
index e678d959d8..ff1b2821cc 100644
--- a/source3/smbd/sesssetup.c
+++ b/source3/smbd/sesssetup.c
@@ -176,6 +176,7 @@ static BOOL make_krb5_skew_error(DATA_BLOB *pblob_out)
*pblob_out = data_blob(NULL,0);
+ initialize_krb5_error_table();
kerr = krb5_init_context(&context);
if (kerr) {
return False;