summaryrefslogtreecommitdiffstats
path: root/Modules/_ssl.c
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2013-11-21 22:57:49 (GMT)
committerChristian Heimes <christian@cheimes.de>2013-11-21 22:57:49 (GMT)
commit18fc7be80d77f68a0e7ab54e6c222a4b7a3bc774 (patch)
tree1eb51f1059816390be38001f70a3c323fab50124 /Modules/_ssl.c
parent225877917e002df4b2d87e965ddd30226aa209ec (diff)
downloadcpython-18fc7be80d77f68a0e7ab54e6c222a4b7a3bc774.zip
cpython-18fc7be80d77f68a0e7ab54e6c222a4b7a3bc774.tar.gz
cpython-18fc7be80d77f68a0e7ab54e6c222a4b7a3bc774.tar.bz2
lst might be NULL here
CID 1130752: Dereference after null check (FORWARD_NULL)
Diffstat (limited to 'Modules/_ssl.c')
-rw-r--r--Modules/_ssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_ssl.c b/Modules/_ssl.c
index 634eea5..d2f0d92 100644
--- a/Modules/_ssl.c
+++ b/Modules/_ssl.c
@@ -1014,7 +1014,7 @@ _get_aia_uri(X509 *certificate, int nid) {
fail:
AUTHORITY_INFO_ACCESS_free(info);
- Py_DECREF(lst);
+ Py_XDECREF(lst);
return NULL;
}