On Sat, 02 Sep 2006 17:26:42 +0200, <SlntHero at aol.com> wrote: > SDL_Surface *temp = SpriteBMP[spriteNumber]; > SDL_Surface *temp2 = rotozoomSurface(temp, angle, zoom, 0); [...] > SDL_FreeSurface(temp); > SDL_FreeSurface(temp2); > } Maybe you're freeing the source frames from SpriteBMP a bit early? Don't free it if you don't own it.