mirror of
https://github.com/wiiu-env/RPXLoadingModule.git
synced 2024-11-22 09:59:17 +01:00
Fix use-after-free and double-free
This commit is contained in:
parent
3d0c1151d7
commit
9c8e69003d
@ -51,8 +51,10 @@ WUMS_APPLICATION_ENDS() {
|
||||
if (gFSClient) {
|
||||
FSDelClient(gFSClient, FS_ERROR_FLAG_ALL);
|
||||
free(gFSClient);
|
||||
gFSClient = nullptr;
|
||||
}
|
||||
free(gFSCmd);
|
||||
gFSCmd = nullptr;
|
||||
|
||||
deinitLogging();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user