diff --git a/CHANGES b/CHANGES index 00bc6e51f..da17455b2 100644 --- a/CHANGES +++ b/CHANGES @@ -7,6 +7,7 @@ Bugfixes: - GBA Video: Start on the scanline BIOS finishes on if no BIOS is loaded - GBA: Deinit savegame when unloading a ROM - GBA: Fix BIOS check on big endian + - Libretro: Fix a memory leak with the render buffer Misc: - Qt: Window size command line options are now supported - Qt: Increase usability of key mapper diff --git a/src/platform/libretro/libretro.c b/src/platform/libretro/libretro.c index 71814f49a..172a4541b 100644 --- a/src/platform/libretro/libretro.c +++ b/src/platform/libretro/libretro.c @@ -193,6 +193,7 @@ void retro_init(void) { void retro_deinit(void) { GBAContextDeinit(&context); + free(renderer.outputBuffer); } void retro_run(void) {