!416 【轻量级 PR】:修复一处资源泄漏

Merge pull request !416 from Caoruihong/N/A
This commit is contained in:
openharmony_ci 2021-11-24 05:53:25 +00:00 committed by Gitee
commit ed02106eef
1 changed files with 1 additions and 0 deletions

View File

@ -278,6 +278,7 @@ INT32 OsShellCmdCat(INT32 argc, const CHAR **argv)
if (fd == -1) {
ret = -1;
free(fullpath);
return ret;
}