summaryrefslogtreecommitdiff
path: root/OpenSSL/crypto/x509.c
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSSL/crypto/x509.c')
-rw-r--r--OpenSSL/crypto/x509.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSSL/crypto/x509.c b/OpenSSL/crypto/x509.c
index 8ee4bff..9a4fe94 100644
--- a/OpenSSL/crypto/x509.c
+++ b/OpenSSL/crypto/x509.c
@@ -78,7 +78,7 @@ crypto_X509_get_serial_number(crypto_X509Obj *self, PyObject *args)
hex = BN_bn2hex(bignum);
res = PyLong_FromString(hex, NULL, 16);
BN_free(bignum);
- free(hex);
+ OPENSSL_free(hex);
return res;
}