summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
Diffstat (limited to 'Python')
-rw-r--r--Python/compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/compile.c b/Python/compile.c
index 6050b72..56fdbfa 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -1835,7 +1835,7 @@ compiler_make_closure(struct compiler *c, location loc,
c->u->u_metadata.u_name,
co->co_name,
freevars);
- Py_DECREF(freevars);
+ Py_XDECREF(freevars);
return ERROR;
}
ADDOP_I(c, loc, LOAD_CLOSURE, arg);