!181 修复PathCache结构器中的name域被错误地尝试free

Merge pull request !181 from Far/master
This commit is contained in:
openharmony_ci 2021-04-24 09:33:33 +08:00 committed by Gitee
commit 9e7af58b2d
1 changed files with 0 additions and 1 deletions

View File

@ -134,7 +134,6 @@ int PathCacheFree(struct PathCache *nc)
LOS_ListDelete(&nc->hashEntry);
LOS_ListDelete(&nc->parentEntry);
LOS_ListDelete(&nc->childEntry);
free(nc->name);
free(nc);
return LOS_OK;