5 Jan
2025
5 Jan
'25
3:58 p.m.
The code currently `malloc`s a larger memory buffer, and if successful: `memcpy`s the old memory buffer to the new, `free`s the old, and reassigns the pointer. This logic can all be reduced to a `realloc`. -- v2: windowscodecs: Simplify png_decoder_get_metadata_blocks using realloc. https://gitlab.winehq.org/wine/wine/-/merge_requests/7099