`AllocateWithWeakRef` and `AllocateExceptionWithRef` leak the `weakref` allocation if the second allocation throws.
--
v5: vccorlib140: Fix potential memory leak in allocation functions.
https://gitlab.winehq.org/wine/wine/-/merge_requests/9465
`AllocateWithWeakRef` and `AllocateExceptionWithRef` leak the `weakref` allocation if the second allocation throws.
--
v3: vccorlib140: Fix potential memory leak in allocation functions.
https://gitlab.winehq.org/wine/wine/-/merge_requests/9465