未验证 提交 41764596 编写于 作者: O openharmony_ci 提交者: Gitee

!1014 Fix : OsLs内存问题修复挑单到monthly_20221018

Merge pull request !1014 from yinjiaming/cherry-pick-1673836500
......@@ -181,6 +181,7 @@ VOID OsLs(const CHAR *pathname)
d = opendir(path);
if (d == NULL) {
PRINT_ERR("No such directory = %s\n", path);
free(path);
} else {
PRINTK("Directory %s:\n", path);
do {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册