summaryrefslogtreecommitdiff
path: root/Python
diff options
context:
space:
mode:
Diffstat (limited to 'Python')
-rw-r--r--Python/pythonrun.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index a7f4fe7cee..30cb518a65 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -1439,8 +1439,8 @@ err_input(perrdetail *err)
}
if (msg == NULL)
msg = "unknown decode error";
- Py_DECREF(type);
- Py_DECREF(value);
+ Py_XDECREF(type);
+ Py_XDECREF(value);
Py_XDECREF(tb);
break;
}