fix another leak

svn-id: r7245
This commit is contained in:
Jonathan Gray 2003-05-01 12:42:46 +00:00
parent a2da94d580
commit 9f9af13a01

View file

@ -1119,6 +1119,7 @@ void OSystem_SDL_Common::setup_icon() {
SDL_Surface *sdl_surf = SDL_CreateRGBSurfaceFrom(icon, 32, 32, 32, 32 * 4, 0xFF0000, 0x00FF00, 0x0000FF, 0xFF000000);
SDL_WM_SetIcon(sdl_surf, (unsigned char *) mask);
SDL_FreeSurface(sdl_surf);
}
void *OSystem_SDL_Common::create_mutex(void) {