romfs_dev.c: use correct file closing function
This commit is contained in:
parent
570ea2ebd2
commit
a046b5a19f
@ -195,7 +195,7 @@ _fail2:
|
|||||||
_fail1:
|
_fail1:
|
||||||
free(dirHashTable);
|
free(dirHashTable);
|
||||||
_fail0:
|
_fail0:
|
||||||
svcCloseHandle(romFS_file);
|
FSFILE_Close(romFS_file);
|
||||||
return 10;
|
return 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -205,7 +205,7 @@ Result romfsExit(void)
|
|||||||
romFS_active = false;
|
romFS_active = false;
|
||||||
|
|
||||||
RemoveDevice("romfs");
|
RemoveDevice("romfs");
|
||||||
svcCloseHandle(romFS_file);
|
FSFILE_Close(romFS_file);
|
||||||
free(dirHashTable);
|
free(dirHashTable);
|
||||||
free(fileHashTable);
|
free(fileHashTable);
|
||||||
free(dirTable);
|
free(dirTable);
|
||||||
|
Loading…
Reference in New Issue
Block a user