diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2013-11-22 16:27:39 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2013-11-27 11:41:44 +0100 |
commit | 45f6c9893516f467400dc486ecaccaf433985e0c (patch) | |
tree | 0926790a354f30ff690b3457795700ccb544611e /lib/crypto-selftests-pk.c | |
parent | 7ea57bef06f96546a2c61b0463c401813d39c0e8 (diff) | |
download | gnutls-45f6c9893516f467400dc486ecaccaf433985e0c.tar.gz |
eliminated memory leak on PK self check.
Diffstat (limited to 'lib/crypto-selftests-pk.c')
-rw-r--r-- | lib/crypto-selftests-pk.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/crypto-selftests-pk.c b/lib/crypto-selftests-pk.c index 46a060a490..d81e833b55 100644 --- a/lib/crypto-selftests-pk.c +++ b/lib/crypto-selftests-pk.c @@ -379,6 +379,7 @@ static int test_known_sig(gnutls_pk_algorithm_t pk, unsigned bits, ret = 0; cleanup: + gnutls_free(sig.data); if (pub != 0) gnutls_pubkey_deinit(pub); gnutls_privkey_deinit(key); |