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 memory leak, compiler warning #3

Closed
wants to merge 7 commits into from

Conversation

cslauritsen
Copy link
Contributor

Compiler Warning

Extra parentheses were causing a compiler warning on osx build. Removed in this pull.

Memory Leak

I noticed the call to malloc() in the function base64_encode function. The buffer cannot be free()d in the function, so I made the caller manage it so it could be.

@cslauritsen
Copy link
Contributor Author

refactoring into 2 pulls

@cslauritsen cslauritsen closed this Dec 3, 2018
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.

None yet

2 participants