CORE : Fix small memory leak (patch by chrono)
This commit is contained in:
parent
28fe0ce01c
commit
93cdd07256
|
@ -4017,6 +4017,11 @@ void gbCleanUp()
|
|||
gbRom = NULL;
|
||||
}
|
||||
|
||||
if(bios != NULL) {
|
||||
free(bios);
|
||||
bios = NULL;
|
||||
}
|
||||
|
||||
if(gbMemory != NULL) {
|
||||
free(gbMemory);
|
||||
gbMemory = NULL;
|
||||
|
|
Loading…
Reference in New Issue