mirror of
https://github.com/yuzu-emu/FasTC
synced 2024-11-22 10:44:05 +00:00
Make sure to use the proper delete
This commit is contained in:
parent
c40829a3b7
commit
f47c880198
1 changed files with 2 additions and 2 deletions
|
@ -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