Skip to content

Commit 102845b

Browse files
authored
remove extra decref, oops! (should've rerun buildbots afterall)
1 parent 842c160 commit 102845b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Python/import.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3912,7 +3912,6 @@ PyImport_ImportModuleLevelObject(PyObject *name, PyObject *globals,
39123912
if (mod_check != mod) {
39133913
Py_XDECREF(mod_check);
39143914
if (_PyErr_Occurred(tstate)) {
3915-
Py_DECREF(mod);
39163915
goto error;
39173916
}
39183917
Py_DECREF(mod);

0 commit comments

Comments
 (0)