diff --git a/retroarch.c b/retroarch.c index c15bc91312..2e30bd4217 100644 --- a/retroarch.c +++ b/retroarch.c @@ -118,6 +118,7 @@ static bool take_screenshot_viewport(void) return false; } + free(buffer); return true; }