Files
Retro68/AutomatedTests
Shay 1740769c6c libretro: fix_realloc_r memory leaks and zero-size reallocation
The previous `_realloc_r` implementation would leak the original memory block (`ptr`) when the in-place `SetPtrSize` call failed and a new block had to be allocated.

This change also adds correct handling for `realloc(ptr, 0)`, which should free the block and return `NULL`.
2026-07-20 10:00:10 -06:00
..
2022-12-05 06:48:30 -06:00
2022-12-05 06:48:30 -06:00
2023-12-12 20:40:57 +01:00
2022-12-05 06:48:30 -06:00
2023-12-29 11:29:49 +01:00
2022-12-05 06:48:30 -06:00
2022-12-05 06:48:30 -06:00
2022-12-05 06:48:30 -06:00
2022-12-05 06:48:30 -06:00
2017-10-08 19:30:54 +02:00
2022-12-05 06:48:30 -06:00
2020-12-28 19:35:51 +01:00
2022-12-05 06:48:30 -06:00