romfs_dev.c: use correct file closing function

This commit is contained in:
fincs 2015-08-27 21:16:27 +02:00
parent 570ea2ebd2
commit a046b5a19f

View File

@ -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);