summaryrefslogtreecommitdiffstats
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
parent88c49fe32054e28627eb41134656da606e9f9595 (diff)
downloadcpython-ee55df5c85662a1416c5b5b0c12e761b108b8e61.zip
cpython-ee55df5c85662a1416c5b5b0c12e761b108b8e61.tar.gz
cpython-ee55df5c85662a1416c5b5b0c12e761b108b8e61.tar.bz2
Fix memory leak in ssl module.
-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);
10_9'/>
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2019-01-15 19:15:31 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2019-01-15 19:15:31 (GMT)
commit2880ef43eb03526e7d75551720547b85e66a3086 (patch)
treeec69c85ef5a04340d377dbb13982fcf370b09047
parentf4138013dbc6851e968ea3d37b32776538ef306b (diff)
parentd5c0a54878a418b6a0b581ef4d9a1c5abb463d46 (diff)
download