Fix memory leak.

This commit is contained in:
Christian Speckner 2019-12-13 21:47:30 +01:00
parent ce993427d1
commit 8ceeb0acbe
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ void FBSurfaceSDL2::invalidate()
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void FBSurfaceSDL2::free()
{
myBlitter.release();
myBlitter.reset();
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -