mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2025-01-08 22:05:37 +00:00
Make sure to use the proper delete
This commit is contained in:
parent
c40829a3b7
commit
f47c880198
|
@ -131,7 +131,7 @@ ImageFile::~ImageFile() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if(m_FileData) {
|
if(m_FileData) {
|
||||||
delete m_FileData;
|
delete [] m_FileData;
|
||||||
m_FileData = NULL;
|
m_FileData = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -144,7 +144,7 @@ bool ImageFile::Load() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if(m_FileData) {
|
if(m_FileData) {
|
||||||
delete m_FileData;
|
delete [] m_FileData;
|
||||||
m_FileData = NULL;
|
m_FileData = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue