mirror of
https://github.com/wiiu-env/RPXLoadingModule.git
synced 2025-02-16 17:29:23 +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) {
|
if (gFSClient) {
|
||||||
FSDelClient(gFSClient, FS_ERROR_FLAG_ALL);
|
FSDelClient(gFSClient, FS_ERROR_FLAG_ALL);
|
||||||
free(gFSClient);
|
free(gFSClient);
|
||||||
|
gFSClient = nullptr;
|
||||||
}
|
}
|
||||||
free(gFSCmd);
|
free(gFSCmd);
|
||||||
|
gFSCmd = nullptr;
|
||||||
|
|
||||||
deinitLogging();
|
deinitLogging();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user