Skip to content

Commit f15474e

Browse files
committed
review comments
1 parent d245ccb commit f15474e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Python/sysmodule.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2499,8 +2499,7 @@ sys_remote_exec_impl(PyObject *module, int pid, PyObject *script)
24992499
}
25002500

25012501
if (PySys_Audit("sys.remote_exec", "iO", pid, script) < 0) {
2502-
Py_DECREF(path);
2503-
return NULL;
2502+
goto error;
25042503
}
25052504

25062505
debugger_script_path = PyBytes_AS_STRING(path);

0 commit comments

Comments
 (0)