From 6de9200e5716d969b1f4a125eed2fbbb2f3acff7 Mon Sep 17 00:00:00 2001 From: Nick Coghlan Date: Sun, 20 Oct 2013 22:43:53 +1000 Subject: [PATCH] Close #19313: remove no longer needed Py_XINCREF Eliminates a refleak introduced in commit b4a325275fb0 --- Python/compile.c | 1 - 1 file changed, 1 deletion(-) diff --git a/Python/compile.c b/Python/compile.c index eeccd111700..5b23e61ff60 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: