mirror of
https://github.com/shadps4-emu/ext-SDL.git
synced 2024-10-08 00:43:22 +00:00
testautomation_video: fix memory leak
This commit is contained in:
parent
8d3d4e523e
commit
693558a894
@ -313,6 +313,7 @@ static int video_getClosestDisplayModeCurrentResolution(void *arg)
|
||||
SDLTest_AssertCheck(closest->pixel_h == current.pixel_h, "Verify returned height matches current height; expected: %d, got: %d", current.pixel_h, closest->pixel_h);
|
||||
}
|
||||
}
|
||||
SDL_free((void *)modes);
|
||||
}
|
||||
SDL_free(displays);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user