mirror of https://github.com/python/cpython
Add missing Py_DECREFs.
This commit is contained in:
parent
dd82734aa1
commit
249f6b1bf4
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue