Delete SDL_FreeSurface on SDL_freeWindow,rand seg fault