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;
|
gbRom = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(bios != NULL) {
|
||||||
|
free(bios);
|
||||||
|
bios = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
if(gbMemory != NULL) {
|
if(gbMemory != NULL) {
|
||||||
free(gbMemory);
|
free(gbMemory);
|
||||||
gbMemory = NULL;
|
gbMemory = NULL;
|
||||||
|
|
Loading…
Reference in New Issue