mirror of
https://github.com/isledecomp/isle.git
synced 2026-02-28 06:57:37 +00:00
Fix wrong use of delete vs delete[]
This commit is contained in:
parent
810c0b0654
commit
10c934c793
@ -28,10 +28,10 @@ MxBitmap::MxBitmap()
|
||||
MxBitmap::~MxBitmap()
|
||||
{
|
||||
if (m_info) {
|
||||
delete m_info;
|
||||
delete[] ((MxU8*) m_info);
|
||||
}
|
||||
if (m_data) {
|
||||
delete m_data;
|
||||
delete[] m_data;
|
||||
}
|
||||
if (m_palette) {
|
||||
delete m_palette;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user