]> granicus.if.org Git - python/commitdiff
Close #19313: remove no longer needed Py_XINCREF
authorNick Coghlan <ncoghlan@gmail.com>
Sun, 20 Oct 2013 12:43:53 +0000 (22:43 +1000)
committerNick Coghlan <ncoghlan@gmail.com>
Sun, 20 Oct 2013 12:43:53 +0000 (22:43 +1000)
Eliminates a refleak introduced in commit b4a325275fb0

Python/compile.c

index eeccd111700217d1ae449d618d6be14caa9b4486..5b23e61ff60cc427df46e77c0fcf08568274334d 100644 (file)
@@ -707,7 +707,6 @@ compiler_scope_qualname(struct compiler *c, identifier scope_name)
         goto _error;
     name = PyUnicode_Join(dot_str, seq);
     Py_DECREF(seq);
-    Py_XINCREF(name);
     return name;
 
 _error: