Signed-off-by: huangke11 <huangke11@huawei.com>
This commit is contained in:
huangke11
2023-03-14 23:32:16 +08:00
parent 3cdc93eaf5
commit feb2c3e400
@@ -191,6 +191,7 @@ static char *GetFollowXRule(const char *relPath, int *mode)
char *search = (char *)calloc(bufSize, sizeof(char));
if (search == NULL || sprintf_s(search, bufSize, ":%s,", relPath) == -1) {
FreeIf(search);
FreeIf(followRule);
return NULL;
}