Bug report
Bug description:
Currently we Py_XDECREF((PyObject *)(uintptr_t)buffer[pc].operand0); only at the last part of uop_optimize, but we don't handle any of the error cases. This means if the JIT errors, it's possible to leak memory.
@markshannon assigning this to you.
CPython versions tested on:
CPython main branch
Operating systems tested on:
No response
Linked PRs
Bug report
Bug description:
Currently we
Py_XDECREF((PyObject *)(uintptr_t)buffer[pc].operand0);only at the last part of uop_optimize, but we don't handle any of the error cases. This means if the JIT errors, it's possible to leak memory.@markshannon assigning this to you.
CPython versions tested on:
CPython main branch
Operating systems tested on:
No response
Linked PRs