diff options
author | Thomas Heller <theller@ctypes.org> | 2006-07-11 16:44:25 +0000 |
---|---|---|
committer | Thomas Heller <theller@ctypes.org> | 2006-07-11 16:44:25 +0000 |
commit | 249f6b1bf4d735c722441aa0c02c10f6f11637a1 (patch) | |
tree | f6e334dff9cee0788548dadfa3e73084b3866252 /Python/mactoolboxglue.c | |
parent | dd82734aa169d16a8e450f1c1ad6c6b38742af18 (diff) | |
download | cpython-git-249f6b1bf4d735c722441aa0c02c10f6f11637a1.tar.gz |
Add missing Py_DECREFs.
Diffstat (limited to 'Python/mactoolboxglue.c')
-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 0aa2cfda37..26a13083f3 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; } |