X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=pico%2F32x%2F32x.c;h=94e696bb1dcf51c37c17a40691b7a683dc20b263;hb=b081408f66662068a3d274f696bdabba5186b68e;hp=e945c8e2819e6f1ab7dc04dbaaf16a68b8580a82;hpb=f6c49d38cbb965c502ca2af66d76e92f95acda7c;p=picodrive.git diff --git a/pico/32x/32x.c b/pico/32x/32x.c index e945c8e..94e696b 100644 --- a/pico/32x/32x.c +++ b/pico/32x/32x.c @@ -129,7 +129,7 @@ void PicoPower32x(void) void PicoUnload32x(void) { if (Pico32xMem != NULL) - free(Pico32xMem); + plat_munmap(Pico32xMem, sizeof(*Pico32xMem)); Pico32xMem = NULL; sh2_finish(&msh2); sh2_finish(&ssh2);