We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 808769f commit b96c6b0Copy full SHA for b96c6b0
Python/pylifecycle.c
@@ -648,9 +648,11 @@ pycore_init_builtins(PyThreadState *tstate)
648
if (interp->builtins_copy == NULL) {
649
goto error;
650
}
651
+ Py_DECREF(bimod);
652
return _PyStatus_OK();
653
654
error:
655
+ Py_XDECREF(bimod);
656
return _PyStatus_ERR("can't initialize builtins module");
657
658
0 commit comments