examples: Fix memory leaks from realloc errors
Make sure to not overwrite the reallocated pointer in realloc() calls to avoid a memleak on memory errors.
Please register or sign in to comment
Make sure to not overwrite the reallocated pointer in realloc() calls to avoid a memleak on memory errors.