diff options
author | Jonathan Gray | 2003-05-01 12:42:46 +0000 |
---|---|---|
committer | Jonathan Gray | 2003-05-01 12:42:46 +0000 |
commit | 9f9af13a019da8da36a7e0b954f4cb95be8241d0 (patch) | |
tree | c98692713adc7c5d6160498908a031ffb451c8ad /backends | |
parent | a2da94d580884712b2cf49f3a368842173c93bbe (diff) | |
download | scummvm-rg350-9f9af13a019da8da36a7e0b954f4cb95be8241d0.tar.gz scummvm-rg350-9f9af13a019da8da36a7e0b954f4cb95be8241d0.tar.bz2 scummvm-rg350-9f9af13a019da8da36a7e0b954f4cb95be8241d0.zip |
fix another leak
svn-id: r7245
Diffstat (limited to 'backends')
-rw-r--r-- | backends/sdl/sdl-common.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/sdl/sdl-common.cpp b/backends/sdl/sdl-common.cpp index 9c9128abb6..2aff1e4b40 100644 --- a/backends/sdl/sdl-common.cpp +++ b/backends/sdl/sdl-common.cpp @@ -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) { |