fix: minor realloc() issue #9

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
1 participant
@pozdnychev
Contributor

pozdnychev commented Feb 21, 2011

Avoid a small memory leakage if realloc() fails, by free()ing the original pointer before returning.

@pozdnychev

This comment has been minimized.

Show comment
Hide comment
@pozdnychev

pozdnychev Feb 23, 2011

Contributor

Alright, sounds good. Anyway, thanks for this tool, it's pretty useful and fun to use.

Contributor

pozdnychev commented Feb 23, 2011

Alright, sounds good. Anyway, thanks for this tool, it's pretty useful and fun to use.

This issue was closed.

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