mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-20 23:01:16 +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();
|
m_criticalSection.Enter();
|
||||||
|
|
||||||
if (m_bitmapInfo) {
|
if (m_bitmapInfo) {
|
||||||
delete m_bitmapInfo;
|
delete[] ((MxU8*) m_bitmapInfo);
|
||||||
}
|
}
|
||||||
m_bitmapInfo = NULL;
|
m_bitmapInfo = NULL;
|
||||||
|
|
||||||
@ -35,7 +35,7 @@ void MxStillPresenter::Destroy(MxBool p_fromDestructor)
|
|||||||
void MxStillPresenter::LoadHeader(MxStreamChunk* p_chunk)
|
void MxStillPresenter::LoadHeader(MxStreamChunk* p_chunk)
|
||||||
{
|
{
|
||||||
if (m_bitmapInfo) {
|
if (m_bitmapInfo) {
|
||||||
delete m_bitmapInfo;
|
delete[] ((MxU8*) m_bitmapInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
MxU8* data = new MxU8[p_chunk->GetLength()];
|
MxU8* data = new MxU8[p_chunk->GetLength()];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user