diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2010-08-03 18:31:54 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2010-08-03 18:31:54 (GMT) |
commit | ee55df5c85662a1416c5b5b0c12e761b108b8e61 (patch) | |
tree | eebbe13434824f1da24e0d105f8f03de03df28da /Modules | |
parent | 88c49fe32054e28627eb41134656da606e9f9595 (diff) | |
download | cpython-ee55df5c85662a1416c5b5b0c12e761b108b8e61.zip cpython-ee55df5c85662a1416c5b5b0c12e761b108b8e61.tar.gz cpython-ee55df5c85662a1416c5b5b0c12e761b108b8e61.tar.bz2 |
Fix memory leak in ssl module.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_ssl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/_ssl.c b/Modules/_ssl.c index 5428c7a..f8428c4 100644 --- a/Modules/_ssl.c +++ b/Modules/_ssl.c @@ -857,6 +857,7 @@ PySSL_test_decode_certificate (PyObject *mod, PyObject *args) { } retval = _decode_certificate(x, verbose); + X509_free(x); fail0: Py_DECREF(filename); |