[SCM] Samba Shared Repository - branch v3-3-test updated -
release-3-2-0pre2-2626-g201bcc8
Jeremy Allison
jra at samba.org
Tue May 27 19:28:26 GMT 2008
The branch, v3-3-test has been updated
via 201bcc8ed291b51be6f4508c6aa1cb17ce6dcbe3 (commit)
from 7eeed8bb41059ec2bddedb6a71deddeec7f33af2 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test
- Log -----------------------------------------------------------------
commit 201bcc8ed291b51be6f4508c6aa1cb17ce6dcbe3
Author: Jeremy Allison <jra at samba.org>
Date: Tue May 27 12:27:57 2008 -0700
Memory leak fixes from Chere Zhou <czhou at isilon.com>.
Jeremy.
-----------------------------------------------------------------------
Summary of changes:
source/libads/kerberos.c | 4 ++++
source/libsmb/smbencrypt.c | 1 +
2 files changed, 5 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/libads/kerberos.c b/source/libads/kerberos.c
index 2adf6a4..c4135f2 100644
--- a/source/libads/kerberos.c
+++ b/source/libads/kerberos.c
@@ -649,6 +649,10 @@ bool kerberos_secrets_store_salting_principal(const char *service,
SAFE_FREE(princ_s);
SAFE_FREE(unparsed_name);
+ if (princ) {
+ krb5_free_principal(context, princ);
+ }
+
if (context) {
krb5_free_context(context);
}
diff --git a/source/libsmb/smbencrypt.c b/source/libsmb/smbencrypt.c
index f339b6b..a8a88a8 100644
--- a/source/libsmb/smbencrypt.c
+++ b/source/libsmb/smbencrypt.c
@@ -181,6 +181,7 @@ bool ntv2_owf_gen(const uchar owf[16],
if (!push_ucs2_allocate(&domain, domain_in, &domain_byte_len)) {
DEBUG(0, ("push_uss2_allocate() for domain failed: %s\n",
strerror(errno)));
+ SAFE_FREE(user);
return False;
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list