1 Dec
2023
1 Dec
'23
11:42 a.m.
Matteo Bruni (@Mystral) commented about dlls/d3dx9_36/animation.c:
if (!max_outputs || !max_sets || !max_tracks || !max_events || !controller) return D3D_OK;
- object = HeapAlloc(GetProcessHeap(), 0, sizeof(*object)); + object = malloc(sizeof(*object));
Mostly as a "while you're at it", we usually zero-out object allocations, so probably this would be better as a calloc(). -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4539#note_54554