-
-
Notifications
You must be signed in to change notification settings - Fork 80
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
memory leak in main_client #206
Labels
Comments
ACK, should be a strdup if part of argv and freed accordingly. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I will at some stage prepare a PR to fix this, but want to document the issue here as a reminder
Describe the bug
In
main.c
, functionmain_client
,clientdata
is passed to the server.sometimes this a a part of
argv
, which does not need to be freedhowever, for the line argument,
g_strjoin
allocates a string that IMO is never freedThe text was updated successfully, but these errors were encountered: