提交 9e7af58b 编写于 作者: O openharmony_ci 提交者: Gitee

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

Merge pull request !181 from Far/master
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册