mirror of
https://github.com/facebook/zstd.git
synced 2025-10-09 00:05:28 -04:00
memory leak fix
This commit is contained in:
parent
2314906b68
commit
793b94b354
@ -245,6 +245,7 @@ int UTIL_prepareFileList(const char *dirName, char** bufStart, size_t* pos, char
|
|||||||
|
|
||||||
if (!followLinks && UTIL_isLink(path)) {
|
if (!followLinks && UTIL_isLink(path)) {
|
||||||
UTIL_DISPLAYLEVEL(2, "Warning : %s is a symbolic link, ignoring\n", path);
|
UTIL_DISPLAYLEVEL(2, "Warning : %s is a symbolic link, ignoring\n", path);
|
||||||
|
free(path);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user