mirror of
https://github.com/python/cpython.git
synced 2026-04-13 23:31:02 +00:00
gh-145376: Fix refleaks and double decref for code in Python/ (#145666)
This commit is contained in:
parent
19676e5fc2
commit
3f7141dac9
3 changed files with 6 additions and 5 deletions
|
|
@ -2499,7 +2499,7 @@ sys_remote_exec_impl(PyObject *module, int pid, PyObject *script)
|
|||
}
|
||||
|
||||
if (PySys_Audit("sys.remote_exec", "iO", pid, script) < 0) {
|
||||
return NULL;
|
||||
goto error;
|
||||
}
|
||||
|
||||
debugger_script_path = PyBytes_AS_STRING(path);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue