Use FIX_BUGS to fix that one delete[] bug in Organya

Fixes #31
This commit is contained in:
Clownacy 2019-01-29 07:36:28 +00:00
parent cd276d94be
commit d33f4b1b51

View file

@ -78,7 +78,11 @@ void OrganyaReleaseNote()
{
if(info.tdata[i].note_p != NULL)
{
#ifdef FIX_BUGS
delete[] info.tdata[i].note_p;
#else
delete info.tdata[i].note_p; // should be delete[]
#endif
info.tdata[i].note_p = NULL;
}
}