diff options
author | Thomas Heller <theller@ctypes.org> | 2006-07-11 16:44:25 (GMT) |
---|---|---|
committer | Thomas Heller <theller@ctypes.org> | 2006-07-11 16:44:25 (GMT) |
commit | 249f6b1bf4d735c722441aa0c02c10f6f11637a1 (patch) | |
tree | f6e334dff9cee0788548dadfa3e73084b3866252 /Python | |
parent | dd82734aa169d16a8e450f1c1ad6c6b38742af18 (diff) | |
download | cpython-249f6b1bf4d735c722441aa0c02c10f6f11637a1.zip cpython-249f6b1bf4d735c722441aa0c02c10f6f11637a1.tar.gz cpython-249f6b1bf4d735c722441aa0c02c10f6f11637a1.tar.bz2 |
Add missing Py_DECREFs.
Diffstat (limited to 'Python')
-rw-r--r-- | Python/mactoolboxglue.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/mactoolboxglue.c b/Python/mactoolboxglue.c index 0aa2cfd..26a1308 100644 --- a/Python/mactoolboxglue.c +++ b/Python/mactoolboxglue.c @@ -60,8 +60,9 @@ PyMac_StrError(int err) strncpy(buf, input, sizeof(buf) - 1); buf[sizeof(buf) - 1] = '\0'; } + Py_DECREF(rv); } - + Py_XDECREF(m); return buf; } |