diff options
author | Richard Oudkerk <shibturn@gmail.com> | 2012-05-04 11:01:31 (GMT) |
---|---|---|
committer | Richard Oudkerk <shibturn@gmail.com> | 2012-05-04 11:01:31 (GMT) |
commit | f072b45e34be8782a2ed5705be2eed5ed35980fa (patch) | |
tree | 5b13faeacbb38d76774993a72c0543478e83b8c8 /Modules/posixmodule.c | |
parent | b333640aba212e8f2b70fd5038fe160492666dca (diff) | |
download | cpython-f072b45e34be8782a2ed5705be2eed5ed35980fa.zip cpython-f072b45e34be8782a2ed5705be2eed5ed35980fa.tar.gz cpython-f072b45e34be8782a2ed5705be2eed5ed35980fa.tar.bz2 |
Fix for fatal errors in os.*utime*()
The address of an object was being decreffed instead of the object.
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r-- | Modules/posixmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 2dbfec1..afa8b39 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -3753,7 +3753,7 @@ utime_read_time_arguments(utime_arguments *ua) fail: if (ua->converter) - Py_DECREF(ua->path); + Py_DECREF(*ua->path); return return_value; } |