Including SDL_mixer

When I include sdl mixer in a project my program segfaults when calling SDL_Quit(); commented out all the SDL_mixer function calls and it still segfaults. before I linked to sdl_mixer it quit fine.

SDL-1.2.4
SDL_mixer 1.2.11

You may show your code if you want some support.On 22/12/2010 00:52, image28 wrote:

When I include sdl mixer in a project my program segfaults when calling
SDL_Quit(); commented out all the SDL_mixer function calls and it still
segfaults. before I linked to sdl_mixer it quit fine.

SDL-1.2.4
SDL_mixer 1.2.11


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Don’t quite know what I did, but I managed to fix it, might have been removing an un-needed call to glReadPixels that I had added at some point to test something ( wasnt freeing the memory used to store the pixel after I was done using it ).