!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
commit 4176459693
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 0 deletions

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 {