mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-06-28 08:20:28 +00:00
13160e5f1e
I believe if realloc() returns a pointer to a different location, the old location is freed. However, the pointer 'n1' is not freed if realloc fails to obtain a large enough block of memory and returns NULL. (more details on [StackOverflow](http://stackoverflow.com/a/16676964)).