Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the memory leaks problem. #2

Merged
merged 2 commits into from
Nov 18, 2014
Merged

Fix the memory leaks problem. #2

merged 2 commits into from
Nov 18, 2014

Conversation

codeant
Copy link

@codeant codeant commented Nov 18, 2014

Add efree(ip_str) to free the ip_str returned by monip_gethostbyname funciton.

Add efree(ip_str) to free the ip_str returned by monip_gethostbyname funciton.
Add multi efree invokes for fully avoid the memory leak problem occurs
by monip_getbyhostname.
shukean added a commit that referenced this pull request Nov 18, 2014
Fix the memory leaks problem.
@shukean shukean merged commit dddd530 into shukean:master Nov 18, 2014
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.

2 participants