From: Richard Oudkerk Date: Fri, 4 May 2012 11:01:31 +0000 (+0100) Subject: Fix for fatal errors in os.*utime*() X-Git-Tag: v3.3.0a4~288 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f072b45e34be8782a2ed5705be2eed5ed35980fa;p=python Fix for fatal errors in os.*utime*() The address of an object was being decreffed instead of the object. --- diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 2dbfec1fbc..afa8b392e8 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; }