Stab at fixing memory issues.

This commit is contained in:
Christian Speckner 2019-12-14 10:04:23 +01:00
parent 7fc5be492a
commit 3aaeead676
2 changed files with 3 additions and 2 deletions

View File

@ -26,6 +26,7 @@
"functional": "cpp", "functional": "cpp",
"iomanip": "cpp", "iomanip": "cpp",
"__cxx_version": "cpp", "__cxx_version": "cpp",
"string": "cpp" "string": "cpp",
"type_traits": "cpp"
} }
} }

View File

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