Memory leaks
TruncatedDinoSour opened this issue · 0 comments
TruncatedDinoSour commented
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 :)