summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2010-08-03 18:31:54 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2010-08-03 18:31:54 (GMT)
commitee55df5c85662a1416c5b5b0c12e761b108b8e61 (patch)
treeeebbe13434824f1da24e0d105f8f03de03df28da /Modules
parent88c49fe32054e28627eb41134656da606e9f9595 (diff)
downloadcpython-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.c1
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);