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: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=249f6b1bf4d735c722441aa0c02c10f6f11637a1;p=thirdparty%2FPython%2Fcpython.git Add missing Py_DECREFs. --- diff --git a/Python/mactoolboxglue.c b/Python/mactoolboxglue.c index 0aa2cfda3701..26a13083f367 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; }