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

Memory leaks #12

Open
TruncatedDinoSour opened this issue Apr 3, 2022 · 0 comments
Open

Memory leaks #12

TruncatedDinoSour opened this issue Apr 3, 2022 · 0 comments

Comments

@TruncatedDinoSour
Copy link
Contributor

https://github.com/yrwq/yafetch/blob/main/src/func.c#L35

You never free() new, I found this while
inspecting my fork of yafetch, might want to
take a look at this commit as a whole:

TruncatedDinoSour/yafetch@9522654

And maybe even adopting this script to
prevent future memory issues:

https://github.com/TruncatedDinosour/yafetch/blob/main/scripts/tests.sh

Just modify it to not include the ./configure script testing :)

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

No branches or pull requests

1 participant