summaryrefslogtreecommitdiff
path: root/Python/compile.c
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2013-10-20 22:43:53 +1000
committerNick Coghlan <ncoghlan@gmail.com>2013-10-20 22:43:53 +1000
commit89896b3fde2b402fccffaa370a3fe59430044bad (patch)
tree8bc2e13de5d3817d2d2a19d92c5a97596bda5f0f /Python/compile.c
parent85ba114e1ed06785cf5c9a4057897c6458085deb (diff)
downloadcpython-89896b3fde2b402fccffaa370a3fe59430044bad.tar.gz
Close #19313: remove no longer needed Py_XINCREF
Eliminates a refleak introduced in commit b4a325275fb0
Diffstat (limited to 'Python/compile.c')
-rw-r--r--Python/compile.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Python/compile.c b/Python/compile.c
index eeccd11170..5b23e61ff6 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -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: