mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-12 22:38:13 +00:00
SDL_test: free state before logging allocations
This commit is contained in:

committed by
Anonymous Maarten

parent
248b1edd3f
commit
b4bfb18318
@@ -147,8 +147,8 @@ SDLTest_CommonState *SDLTest_CommonCreateState(char **argv, Uint32 flags)
|
||||
}
|
||||
|
||||
void SDLTest_CommonDestroyState(SDLTest_CommonState *state) {
|
||||
SDLTest_LogAllocations();
|
||||
SDL_free(state);
|
||||
SDLTest_LogAllocations();
|
||||
}
|
||||
|
||||
#define SEARCHARG(dim) \
|
||||
|
Reference in New Issue
Block a user