# HG changeset patch # User Mike Gorchak # Date 1255180881 0 # Node ID 3e0f51e60fa2ac52544b7beacd6790cfc301a4c6 # Parent 71bb88152e3f055701a665cdc4e5ed2640ef08a0 Created windows must be destroyed at CommonQuit(). diff -r 71bb88152e3f -r 3e0f51e60fa2 test/common.c --- a/test/common.c Sat Oct 10 10:02:17 2009 +0000 +++ b/test/common.c Sat Oct 10 13:21:21 2009 +0000 @@ -1022,6 +1022,12 @@ SDL_AudioQuit(); } if (state->windows) { + int it; + + for (it=0; itnum_windows; it++) + { + SDL_DestroyWindow(state->windows[it]); + } SDL_free(state->windows); } SDL_free(state);