Skip to content

Commit 7f77bf9

Browse files
committed
fix reference counting
1 parent d4c31c1 commit 7f77bf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/posixmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7404,7 +7404,7 @@ parse_file_actions(PyObject *file_actions,
74047404
Py_DECREF(path);
74057405
goto fail;
74067406
}
7407-
Py_XDECREF(cwd);
7407+
Py_XDECREF(*cwd);
74087408
*cwd = path;
74097409
break;
74107410
}

0 commit comments

Comments
 (0)