Merge pull request #1701 from LeeYoung624/dev

memory leak fix
This commit is contained in:
Felix Handte
2019-07-25 11:56:37 -04:00
committed by GitHub
+1
View File
@@ -245,6 +245,7 @@ int UTIL_prepareFileList(const char *dirName, char** bufStart, size_t* pos, char
if (!followLinks && UTIL_isLink(path)) {
UTIL_DISPLAYLEVEL(2, "Warning : %s is a symbolic link, ignoring\n", path);
free(path);
continue;
}