10000 gh-115503: Fix `run_presite` error handling (#115504) · python/cpython@20eaf4d · GitHub
[go: up one dir, main page]

Skip to content

Commit 20eaf4d

Browse files
authored
gh-115503: Fix run_presite error handling (#115504)
1 parent 321d13f commit 20eaf4d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Python/pylifecycle.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1109,7 +1109,6 @@ run_presite(PyThreadState *tstate)
11091109
);
11101110
if (presite_modname == NULL) {
11111111
fprintf(stderr, "Could not convert pre-site module name to unicode\n");
1112-
Py_DECREF(presite_modname);
11131112
}
11141113
else {
11151114
PyObject *presite = PyImport_Import(presite_modname);

0 commit comments

Comments
 (0)
0