diff options
-rw-r--r-- | src/OpenSSL/crypto.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/OpenSSL/crypto.py b/src/OpenSSL/crypto.py index 4f7e4d8..4255358 100644 --- a/src/OpenSSL/crypto.py +++ b/src/OpenSSL/crypto.py @@ -2898,7 +2898,7 @@ def load_crl(type, buffer): _raise_current_error() result = CRL.__new__(CRL) - result._crl = crl + result._crl = _ffi.gc(crl, _lib.X509_CRL_free) return result |