From 4c18f66250d4ef0979ee10b42d6ff0944faa8c4c Mon Sep 17 00:00:00 2001 From: Christian Speckner Date: Fri, 13 Dec 2019 21:47:30 +0100 Subject: [PATCH] Fix memory leak. --- src/common/FBSurfaceSDL2.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/FBSurfaceSDL2.cxx b/src/common/FBSurfaceSDL2.cxx index 944e1ddb6..f5ee9ff68 100644 --- a/src/common/FBSurfaceSDL2.cxx +++ b/src/common/FBSurfaceSDL2.cxx @@ -157,7 +157,7 @@ void FBSurfaceSDL2::invalidate() // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - void FBSurfaceSDL2::free() { - myBlitter.release(); + myBlitter.reset(); } // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -