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 #5

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Fix memory leak #5

wants to merge 10 commits into from

Conversation

cslauritsen
Copy link
Contributor

Valgrind commented on a memory leak. Since the caller needs to access the base64 buffer, it could not easily be freed with the way the code was currently structured, so this pull contains changes to make the caller allocate the base64 output buffer.

Copy link
Owner

@bryanpkc bryanpkc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM; I just have some minor nitpicks.

corkscrew.c Outdated Show resolved Hide resolved
corkscrew.c Outdated Show resolved Hide resolved
corkscrew.c Outdated Show resolved Hide resolved
corkscrew.c Outdated Show resolved Hide resolved
corkscrew.c Outdated Show resolved Hide resolved
review comments:
 fix whitespace
 remote erroneous comment
 conform to error message format
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.

3 participants