- fixed some memleaks/freebugs

- leak detective works almost usable now (?!)
This commit is contained in:
Martin Willi
2006-05-31 14:13:26 +00:00
parent 3b8af2ab60
commit 6f2aba1322
3 changed files with 6 additions and 9 deletions
+1
View File
@@ -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];