!181 修复PathCache结构器中的name域被错误地尝试free
Merge pull request !181 from Far/master
This commit is contained in:
commit
9e7af58b2d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue