Skip to content

Fix memory leaks#1

Open
call-nick wants to merge 5 commits intotarantino07:mainfrom
call-nick:main
Open

Fix memory leaks#1
call-nick wants to merge 5 commits intotarantino07:mainfrom
call-nick:main

Conversation

@call-nick
Copy link

Hi!

This PR includes some fixes for memory leaks.
Also, please note: the code after the while(1) loop is unreachable because there's no break statement in it. Instead of using exit(0), you might consider using break so that you can properly free the allocated memory after the loop.

Have a nice day!

@ensargx
Copy link

ensargx commented Oct 12, 2025

This is the bug i was frustrated about, yes!

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.

2 participants

Comments