[Python-checkins] cpython: lst might be NULL here

christian.heimes python-checkins at python.org
Thu Nov 21 23:57:56 CET 2013


http://hg.python.org/cpython/rev/4d63ee2ff753
changeset:   87321:4d63ee2ff753
user:        Christian Heimes <christian at cheimes.de>
date:        Thu Nov 21 23:57:49 2013 +0100
summary:
  lst might be NULL here
CID 1130752:  Dereference after null check  (FORWARD_NULL)

files:
  Modules/_ssl.c |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Modules/_ssl.c b/Modules/_ssl.c
--- a/Modules/_ssl.c
+++ b/Modules/_ssl.c
@@ -1014,7 +1014,7 @@
 
   fail:
     AUTHORITY_INFO_ACCESS_free(info);
-    Py_DECREF(lst);
+    Py_XDECREF(lst);
     return NULL;
 }
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list