Issue #18408: Fix error handling in PyBytes_FromObject()
_PyBytes_Resize(&new) sets new to NULL on error, don't call Py_DECREF() with NULL.
Showing
Please
register
or
sign in
to comment
_PyBytes_Resize(&new) sets new to NULL on error, don't call Py_DECREF() with NULL.