提交 b73898a0 编写于 作者: C Caoruihong 提交者: Gitee

修复一处资源泄漏

Signed-off-by: NCaoruihong <crh.cao@huawei.com>
上级 05a487dc
......@@ -278,6 +278,7 @@ INT32 OsShellCmdCat(INT32 argc, const CHAR **argv)
if (fd == -1) {
ret = -1;
free(fullpath);
return ret;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册