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 leaks in MMDB_open() #49

Merged
merged 1 commit into from
Nov 6, 2014
Merged

Fix leaks in MMDB_open() #49

merged 1 commit into from
Nov 6, 2014

Conversation

fgsch
Copy link
Contributor

@fgsch fgsch commented Nov 6, 2014

If obtaining the database size fails free the allocated memory and close the file descriptor.

If obtaining the database size fails free the allocated memory and close
the file descriptor.
oschwald added a commit that referenced this pull request Nov 6, 2014
Fix leaks in MMDB_open()
@oschwald oschwald merged commit cf7d983 into maxmind:master Nov 6, 2014
@oschwald
Copy link
Member

oschwald commented Nov 6, 2014

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants