Kaydet (Commit) 249f6b1b authored tarafından Thomas Heller's avatar Thomas Heller

Add missing Py_DECREFs.

üst dd82734a
...@@ -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