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

Merge pull request !1014 from yinjiaming/cherry-pick-1673836500
This commit is contained in:
openharmony_ci
2023-01-17 09:30:24 +00:00
committed by Gitee

View File

@@ -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 {