mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2025-01-07 01:25:36 +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) {
|
||||
delete m_FileData;
|
||||
delete [] m_FileData;
|
||||
m_FileData = NULL;
|
||||
}
|
||||
}
|
||||
|
@ -144,7 +144,7 @@ bool ImageFile::Load() {
|
|||
}
|
||||
|
||||
if(m_FileData) {
|
||||
delete m_FileData;
|
||||
delete [] m_FileData;
|
||||
m_FileData = NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue