MADS: Fix mismatched delete/free releasing screen surface
This commit is contained in:
parent
3fae9f17da
commit
c0fafcf33f
1 changed files with 1 additions and 1 deletions
|
@ -569,7 +569,7 @@ void ScreenSurface::init() {
|
|||
}
|
||||
|
||||
ScreenSurface::~ScreenSurface() {
|
||||
delete[] _surfacePixels;
|
||||
::free(_surfacePixels);
|
||||
}
|
||||
|
||||
void ScreenSurface::copyRectToScreen(const Common::Rect &bounds) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue