commit
4bd0e73512
|
@ -275,6 +275,7 @@ static int VfsOpen(const char *path, int flags)
|
||||||
fd = FileToFd(file);
|
fd = FileToFd(file);
|
||||||
file->fStatus = FILE_STATUS_READY; /* file now ready to use */
|
file->fStatus = FILE_STATUS_READY; /* file now ready to use */
|
||||||
} else {
|
} else {
|
||||||
|
LOSCFG_FS_FREE_HOOK((void *)file->fullPath);
|
||||||
VfsFilePut(file);
|
VfsFilePut(file);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue