Commit 3a57f9e3 authored by Thomas Heller's avatar Thomas Heller

Add missing Py_DECREFs.

parent 5bb53efd
...@@ -60,8 +60,9 @@ PyMac_StrError(int err) ...@@ -60,8 +60,9 @@ PyMac_StrError(int err)
strncpy(buf, input, sizeof(buf) - 1); strncpy(buf, input, sizeof(buf) - 1);
buf[sizeof(buf) - 1] = '\0'; buf[sizeof(buf) - 1] = '\0';
} }
Py_DECREF(rv);
} }
Py_XDECREF(m);
return buf; return buf;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment