mirror of
https://github.com/python/cpython.git
synced 2025-07-29 06:05:00 +00:00
Add missing Py_DECREFs.
This commit is contained in:
parent
dd82734aa1
commit
249f6b1bf4
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue