all repos — mgba @ 68f6f34ee12e47606d37b7012452c1ee70cd8947

mGBA Game Boy Advance Emulator

Libretro: Fix a memory leak with the render buffer
Jeffrey Pfau jeffrey@endrift.com
Mon, 07 Sep 2015 22:16:50 -0700
commit

68f6f34ee12e47606d37b7012452c1ee70cd8947

parent

88f8f2451d5ecaeb569bd543e65e73c4d79130fa

2 files changed, 2 insertions(+), 0 deletions(-)

jump to
M CHANGESCHANGES

@@ -7,6 +7,7 @@ - Qt: Reenable double buffering, as disabling it broke some Windows configs

- 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: Remove useless help icons in dialogs - GBA: Attempting to save a screenshot-style savestate should be allowed without libpng
M src/platform/libretro/libretro.csrc/platform/libretro/libretro.c

@@ -204,6 +204,7 @@ bios->close(bios);

bios = 0; } GBADestroy(&gba); + free(renderer.outputBuffer); } void retro_run(void) {