Skip to content

Commit 3184df2

Browse files
committed
fix reference counting
1 parent d669339 commit 3184df2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/posixmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7884,7 +7884,7 @@ parse_file_actions(PyObject *file_actions,
78847884
Py_DECREF(path);
78857885
goto fail;
78867886
}
7887-
Py_XDECREF(cwd);
7887+
Py_XDECREF(*cwd);
78887888
*cwd = path;
78897889
break;
78907890
}

0 commit comments

Comments
 (0)