Closed Inverted closed 1 year ago
Path names are freed when closing a dir, so you need to copy the name for future use. Also frees some more memory when stopping the program to clean up Valgrind output.
Oii, thanks! Also, the changes you made with the pthread make much more sense that way, heh.
Path names are freed when closing a dir, so you need to copy the name for future use. Also frees some more memory when stopping the program to clean up Valgrind output.