summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/pk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pk.c b/lib/pk.c
index 2dddb49560..a48718cf0f 100644
--- a/lib/pk.c
+++ b/lib/pk.c
@@ -180,7 +180,7 @@ _gnutls_decode_ber_rs(const gnutls_datum_t * sig_value, bigint_t * r,
result = _gnutls_x509_read_int(sig, "s", s);
if (result < 0) {
gnutls_assert();
- _gnutls_mpi_release(s);
+ _gnutls_mpi_release(r);
asn1_delete_structure(&sig);
return result;
}