notaz.gp2x.de
/
picodrive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8a897a
)
core, fix crash if image couldn't be loaded
author
kub
<derkub@gmail.com>
Sat, 3 Jun 2023 07:50:23 +0000
(07:50 +0000)
committer
kub
<derkub@gmail.com>
Sat, 3 Jun 2023 07:50:23 +0000
(07:50 +0000)
pico/media.c
patch
|
blob
|
blame
|
history
diff --git
a/pico/media.c
b/pico/media.c
index
27f0c14
..
7c147b2
100644
(file)
--- a/
pico/media.c
+++ b/
pico/media.c
@@
-395,7
+395,7
@@
out:
if (rom_file)
pm_close(rom_file);
if (rom_data)
-
free(rom_data
);
+
PicoCartUnload(
);
return media_type;
}