diff options
Diffstat (limited to 'src/charon/sa/authenticator.c')
-rw-r--r-- | src/charon/sa/authenticator.c | 1 |
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]; |