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:
ecdf7c3
)
plug memory leak of DH public key
author
Love Hörnquist Åstrand
<lha@kth.se>
Thu, 11 Dec 2008 05:08:57 +0000
(
05:08
+0000)
committer
Love Hörnquist Åstrand
<lha@kth.se>
Thu, 11 Dec 2008 05:08:57 +0000
(
05:08
+0000)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24154
ec53bebd
-3082-4978-b11e-
865c3cabbd6b
kdc/pkinit.c
patch
|
blob
|
history
diff --git
a/kdc/pkinit.c
b/kdc/pkinit.c
index 315ef6cbdfb2efd40886072113f16630afcf86bd..70786aa1ac8e19eea99073288f8ddd1ed879b62e 100644
(file)
--- a/
kdc/pkinit.c
+++ b/
kdc/pkinit.c
@@
-886,6
+886,7
@@
pk_mk_pa_reply_dh(krb5_context context,
return ret;
ASN1_MALLOC_ENCODE(DHPublicKey, buf.data, buf.length, &i, &size, ret);
+ der_free_heim_integer(&i);
if (ret) {
krb5_set_error_message(context, ret, "ASN.1 encoding of "
"DHPublicKey failed (%d)", ret);