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

Free temp_portnumber_filename before function exits #1208

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mugitya03
Copy link

This is the second commit in PR #1203

A memory is allocated and stored in pointer temp_portnumber_filename

temp_portnumber_filename = malloc(len);

It is not freed when the function exits at exception branches.

A memory is allocated and stored in pointer `temp_portnumber_filename`

temp_portnumber_filename = malloc(len);

It is not freed when the function exits at exception branches.
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.

1 participant