From: Thomas Heller Date: Tue, 11 Jul 2006 16:44:25 +0000 (+0000) Subject: Add missing Py_DECREFs. X-Git-Tag: v2.5b3~272 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=249f6b1bf4d735c722441aa0c02c10f6f11637a1;p=python Add missing Py_DECREFs. --- 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; }