[Python-checkins] cpython: Close #19313: remove no longer needed Py_XINCREF

nick.coghlan python-checkins at python.org
Sun Oct 20 14:44:15 CEST 2013


http://hg.python.org/cpython/rev/84a8b797c5c5
changeset:   86509:84a8b797c5c5
user:        Nick Coghlan <ncoghlan at gmail.com>
date:        Sun Oct 20 22:43:53 2013 +1000
summary:
  Close #19313: remove no longer needed Py_XINCREF

Eliminates a refleak introduced in commit b4a325275fb0

files:
  Python/compile.c |  1 -
  1 files changed, 0 insertions(+), 1 deletions(-)


diff --git a/Python/compile.c b/Python/compile.c
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -707,7 +707,6 @@
         goto _error;
     name = PyUnicode_Join(dot_str, seq);
     Py_DECREF(seq);
-    Py_XINCREF(name);
     return name;
 
 _error:

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


More information about the Python-checkins mailing list