Fix another mismatching delete in IFF image handler code
This is similar to the previous commit and fixes the same problem in another place. See https://github.com/wxWidgets/wxWidgets/pull/1684
This commit is contained in:
@@ -530,7 +530,7 @@ int wxIFFDecoder::ReadIFF()
|
||||
pal[3*i + 1] = 0;
|
||||
pal[3*i + 2] = 0;
|
||||
}
|
||||
delete m_image->pal;
|
||||
delete[] m_image->pal;
|
||||
m_image->pal = pal;
|
||||
m_image->colors = colors;
|
||||
}
|
||||
|
Reference in New Issue
Block a user