mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-20 14:51:15 +00:00
Update mxstillpresenter.cpp
This commit is contained in:
parent
eac99793ea
commit
5994b040e2
@ -20,7 +20,7 @@ void MxStillPresenter::Destroy(MxBool p_fromDestructor)
|
||||
m_criticalSection.Enter();
|
||||
|
||||
if (m_bitmapInfo) {
|
||||
delete m_bitmapInfo;
|
||||
delete[] ((MxU8*) m_bitmapInfo);
|
||||
}
|
||||
m_bitmapInfo = NULL;
|
||||
|
||||
@ -35,7 +35,7 @@ void MxStillPresenter::Destroy(MxBool p_fromDestructor)
|
||||
void MxStillPresenter::LoadHeader(MxStreamChunk* p_chunk)
|
||||
{
|
||||
if (m_bitmapInfo) {
|
||||
delete m_bitmapInfo;
|
||||
delete[] ((MxU8*) m_bitmapInfo);
|
||||
}
|
||||
|
||||
MxU8* data = new MxU8[p_chunk->GetLength()];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user