mirror of
https://github.com/openharmony/customization_config_policy.git
synced 2026-07-21 03:45:21 -04:00
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user