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.
main_module
_PyRun_SimpleStringFlagsWithName
1 parent f2fcc49 commit 08f6b33Copy full SHA for 08f6b33
1 file changed
Python/pythonrun.c
@@ -567,6 +567,7 @@ _PyRun_SimpleStringFlagsWithName(const char *command, const char* name, PyCompil
567
PyObject* the_name = PyUnicode_FromString(name);
568
if (!the_name) {
569
PyErr_Print();
570
+ Py_DECREF(main_module);
571
return -1;
572
}
573
res = _PyRun_StringFlagsWithName(command, the_name, Py_file_input, dict, dict, flags, 0);
0 commit comments