From 857ed50e1f0cdaa820a69def36eab5d636fe2ec8 Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Sat, 17 May 2025 04:34:21 +0200 Subject: [PATCH] Fix delete[] in mxstillpresenter.cpp Without this the game doesn't run on Linux :) --- LEGO1/omni/src/video/mxstillpresenter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LEGO1/omni/src/video/mxstillpresenter.cpp b/LEGO1/omni/src/video/mxstillpresenter.cpp index 03ffcb31..cd4bc605 100644 --- a/LEGO1/omni/src/video/mxstillpresenter.cpp +++ b/LEGO1/omni/src/video/mxstillpresenter.cpp @@ -53,7 +53,7 @@ void MxStillPresenter::CreateBitmap() m_frameBitmap = new MxBitmap; m_frameBitmap->ImportBitmapInfo(m_bitmapInfo); - delete m_bitmapInfo; + delete[] m_bitmapInfo; m_bitmapInfo = NULL; }