Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f072b45

Browse files
committed
Fix for fatal errors in os.*utime*()
The address of an object was being decreffed instead of the object.
1 parent b333640 commit f072b45

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
@@ -3753,7 +3753,7 @@ utime_read_time_arguments(utime_arguments *ua)
37533753

37543754
fail:
37553755
if (ua->converter)
3756-
Py_DECREF(ua->path);
3756+
Py_DECREF(*ua->path);
37573757
return return_value;
37583758
}
37593759

0 commit comments

Comments
 (0)