summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorRichard Oudkerk <shibturn@gmail.com>2012-05-04 11:01:31 (GMT)
committerRichard Oudkerk <shibturn@gmail.com>2012-05-04 11:01:31 (GMT)
commitf072b45e34be8782a2ed5705be2eed5ed35980fa (patch)
tree5b13faeacbb38d76774993a72c0543478e83b8c8 /Modules
parentb333640aba212e8f2b70fd5038fe160492666dca (diff)
downloadcpython-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')
-rw-r--r--Modules/posixmodule.c2
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;
}