diff options
-rw-r--r-- | engines/mads/screen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mads/screen.cpp b/engines/mads/screen.cpp index 60f3d8aeaf..8db034c467 100644 --- a/engines/mads/screen.cpp +++ b/engines/mads/screen.cpp @@ -569,7 +569,7 @@ void ScreenSurface::init() { } ScreenSurface::~ScreenSurface() { - delete[] _surfacePixels; + ::free(_surfacePixels); } void ScreenSurface::copyRectToScreen(const Common::Rect &bounds) { |