Skip to content

Conversation

@stolariks
Copy link

In case realloc() fails, you would lose the pointer to the memory, leaving it unable to be freed. That's why I added a temporary buffer just so it is possible to free the original memory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant