6 Nov
2023
6 Nov
'23
5:19 p.m.
Esme Povirk (@madewokherd) commented about dlls/ole32/tests/ole2.c:
{ hdc = GetDC(NULL); data_size = GetWinMetaFileBits(stg_med->hEnhMetaFile, 0, NULL, MM_ANISOTROPIC, hdc); - data = HeapAlloc(GetProcessHeap(), 0, data_size); + data = malloc(data_size);
I can't find all the corresponding `free` calls for the `malloc` calls in `get_stgdef`, I think `test_OleCreateStaticFromData` might be leaking the data. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4304#note_51111