!627 修复L0 fs Opendir打开失败返回值不为空问题
Merge pull request !627 from 龙幸开/master
This commit is contained in:
commit
cde2b3bd31
|
@ -683,6 +683,7 @@ static DIR *VfsOpendir(const char *path)
|
||||||
mp->mRefs++;
|
mp->mRefs++;
|
||||||
} else {
|
} else {
|
||||||
free(dir);
|
free(dir);
|
||||||
|
dir = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
VfsUnlock();
|
VfsUnlock();
|
||||||
|
|
Loading…
Reference in New Issue