fix fs opendir bug
Signed-off-by: longxingkai <longxingkai@talkweb.com.cn>
This commit is contained in:
parent
536e9b4584
commit
e3e9b2f5a5
|
@ -683,6 +683,7 @@ static DIR *VfsOpendir(const char *path)
|
|||
mp->mRefs++;
|
||||
} else {
|
||||
free(dir);
|
||||
dir = NULL;
|
||||
}
|
||||
|
||||
VfsUnlock();
|
||||
|
|
Loading…
Reference in New Issue