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.