1 Nov
2025
1 Nov
'25
10:41 a.m.
Nikolay Sivov (@nsivov) commented about dlls/combase/roapi.c:
+{ + struct restricted_error_info *impl = impl_from_IRestrictedErrorInfo(iface); + TRACE("(%p)\n", iface); + return InterlockedIncrement(&impl->ref); +} + +static ULONG WINAPI restricted_error_info_Release(IRestrictedErrorInfo *iface) +{ + struct restricted_error_info *impl = impl_from_IRestrictedErrorInfo(iface); + ULONG ref = InterlockedDecrement(&impl->ref); + + TRACE("(%p)\n", iface); + + if (!ref) free(impl); + return ref; +} Shouldn't this free strings too?
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/9332#note_120318