WINTERMUTE: Remember to free the image decoders after use.

This commit is contained in:
Einar Johan Trøan Sømåen 2012-06-08 00:35:19 +02:00
parent 088a6b7b45
commit ed7b31f841

View File

@ -167,6 +167,7 @@ HRESULT CBSurfaceSDL::Create(const char *Filename, bool default_ck, byte ck_red,
warning("Surface-textures not fully ported yet");
hasWarned = true;
}
delete imgDecoder;
#if 0
_texture = SDL_CreateTextureFromSurface(renderer->GetSdlRenderer(), surf);
if (!_texture) {