fix another leak
svn-id: r7245
This commit is contained in:
parent
a2da94d580
commit
9f9af13a01
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue