git.samba.org
/
metze
/
heimdal
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7053692
)
plug memory leak
author
Love Hörnquist Åstrand
<lha@kth.se>
Thu, 11 Dec 2008 05:10:19 +0000
(
05:10
+0000)
committer
Love Hörnquist Åstrand
<lha@kth.se>
Thu, 11 Dec 2008 05:10:19 +0000
(
05:10
+0000)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24162
ec53bebd
-3082-4978-b11e-
865c3cabbd6b
kdc/digest.c
patch
|
blob
|
history
diff --git
a/kdc/digest.c
b/kdc/digest.c
index 6fe354413d6df20672c45b6aea2d834b74eb0816..e47401d0059c5cc93c694db27f56bdbe2227bc01 100644
(file)
--- a/
kdc/digest.c
+++ b/
kdc/digest.c
@@
-587,6
+587,7
@@
_kdc_do_digest(krb5_context context,
KRB5_KU_DIGEST_OPAQUE,
buf.data, buf.length, &res);
free_Checksum(&res);
+ krb5_data_free(&buf);
krb5_crypto_destroy(context, crypto);
crypto = NULL;
if (ret)
@@
-1170,6
+1171,8
@@
_kdc_do_digest(krb5_context context,
krb5_set_error_message(context, ret, "NTLM storage read flags");
goto out;
}
+ krb5_storage_free(sp);
+ sp = NULL;
krb5_data_free(&buf);
if ((flags & NTLM_NEG_NTLM) == 0) {