summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorDanny Holman <dholman@gymli.org>2024-10-07 13:35:00 -0500
committerDanny Holman <dholman@gymli.org>2024-10-07 13:35:00 -0500
commitf9a9720d3d34cf213a5393cdfdac989bed913e1a (patch)
tree078269fc35b698978bef96fba6cf8172f2eeb6dc /CMakeLists.txt
parentfd6f75da9477ea2ae5b3eb1cb0eb64cc19b67037 (diff)
core: alloc: fix a bug in realloc
Fix a bug in realloc that wouldn't copy the data from the original pointer. The new implementation now copies the data and marks the old block as free, as well as returning a new block if the ptr argument is NULL. Signed-off-by: Danny Holman <dholman@gymli.org>
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions