Fix memory leak in ssl module.

This commit is contained in:
Mark Dickinson 2010-08-03 18:31:54 +00:00
parent 88c49fe320
commit ee55df5c85

View file

@ -857,6 +857,7 @@ PySSL_test_decode_certificate (PyObject *mod, PyObject *args) {
}
retval = _decode_certificate(x, verbose);
X509_free(x);
fail0:
Py_DECREF(filename);