mirror of https://github.com/python/cpython
Fix memory leak in ssl module.
This commit is contained in:
parent
88c49fe320
commit
ee55df5c85
|
@ -857,6 +857,7 @@ PySSL_test_decode_certificate (PyObject *mod, PyObject *args) {
|
||||||
}
|
}
|
||||||
|
|
||||||
retval = _decode_certificate(x, verbose);
|
retval = _decode_certificate(x, verbose);
|
||||||
|
X509_free(x);
|
||||||
|
|
||||||
fail0:
|
fail0:
|
||||||
Py_DECREF(filename);
|
Py_DECREF(filename);
|
||||||
|
|
Loading…
Reference in New Issue