gh-121652: Handle `allocate_weakref` returning NULL (#121653)
The `allocate_weakref` may return NULL when out of memory. We need to handle that case and propagate the error.
S
Sam Gross committed
a640a605a8a1a3f73b98f948d0c2a7d42134f692
Parent: a183474
Committed by GitHub <noreply@github.com>
on 7/13/2024, 4:07:52 PM