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
commit d95ac34202
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;
}