summaryrefslogtreecommitdiffstats
path: root/Mac/Modules
diff options
context:
space:
mode:
authorThomas Heller <theller@ctypes.org>2006-07-11 16:42:05 (GMT)
committerThomas Heller <theller@ctypes.org>2006-07-11 16:42:05 (GMT)
commitdd82734aa169d16a8e450f1c1ad6c6b38742af18 (patch)
tree086fe7c5204f47f264899a27d3eaf1f8740076bc /Mac/Modules
parente0c3adfb9f284479a55a206c7520660e3c6d802a (diff)
downloadcpython-dd82734aa169d16a8e450f1c1ad6c6b38742af18.zip
cpython-dd82734aa169d16a8e450f1c1ad6c6b38742af18.tar.gz
cpython-dd82734aa169d16a8e450f1c1ad6c6b38742af18.tar.bz2
Add missing Py_DECREF.
Diffstat (limited to 'Mac/Modules')
-rw-r--r--Mac/Modules/macosmodule.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Mac/Modules/macosmodule.c b/Mac/Modules/macosmodule.c
index ed86fd0..4eabb39 100644
--- a/Mac/Modules/macosmodule.c
+++ b/Mac/Modules/macosmodule.c
@@ -375,6 +375,7 @@ MacOS_GetErrorString(PyObject *self, PyObject *args)
/* And try again... */
h = GetResource('Estr', err);
}
+ Py_DECREF(m);
}
}
/*