cpath
cpath copied to clipboard
In cpathGetNextFile, we check if file == NULL, however, file is not assigned as NULL upon initialisation
If you run anything that calls cpathGetNextFile in valgrind, it will also let you know about this issue. The problem is here: