aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/sa/authenticator.c
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2006-05-31 14:13:26 +0000
committerMartin Willi <martin@strongswan.org>2006-05-31 14:13:26 +0000
commit6f2aba1322ce0061c56b9faeb979c236da926c3f (patch)
treeed52da4e0e6af2d0653dbc52378aecefe652fa07 /src/charon/sa/authenticator.c
parent3b8af2ab60c21584224e0270e21c227aa66aea1a (diff)
downloadstrongswan-6f2aba1322ce0061c56b9faeb979c236da926c3f.tar.bz2
strongswan-6f2aba1322ce0061c56b9faeb979c236da926c3f.tar.xz
- fixed some memleaks/freebugs
- leak detective works almost usable now (?!)
Diffstat (limited to 'src/charon/sa/authenticator.c')
-rw-r--r--src/charon/sa/authenticator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/charon/sa/authenticator.c b/src/charon/sa/authenticator.c
index 52bd256f3..81dee0b0d 100644
--- a/src/charon/sa/authenticator.c
+++ b/src/charon/sa/authenticator.c
@@ -356,6 +356,7 @@ static status_t compute_auth_data (private_authenticator_t *this,
this->logger->log(this->logger, CONTROL, "looking for private key with keyid %s", buf);
my_key = charon->credentials->get_rsa_private_key(charon->credentials, my_pubkey);
+ my_pubkey->destroy(my_pubkey);
if (my_key == NULL)
{
char buf[BUF_LEN];