13 Jan
2023
13 Jan
'23
7:40 a.m.
On Fri Jan 13 07:40:08 2023 +0000, Zebediah Figura wrote:
SchRpcEnumFolders names are allocated with malloc, and later freed in __finally_ITaskSchedulerService_SchRpcEnumFolders using MIDL_user_free. FWIW, in other places we use MIDL_user_alloc() in the stub function, to avoid mismatches like these. Well, the names/list allocation code uses realloc and there's no `MIDL_user_realloc`, so it's not completely trivial to change the other way either.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/1954#note_20845