parent
cd276d94be
commit
d33f4b1b51
1 changed files with 4 additions and 0 deletions
|
@ -78,7 +78,11 @@ void OrganyaReleaseNote()
|
||||||
{
|
{
|
||||||
if(info.tdata[i].note_p != NULL)
|
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[]
|
delete info.tdata[i].note_p; // should be delete[]
|
||||||
|
#endif
|
||||||
info.tdata[i].note_p = NULL;
|
info.tdata[i].note_p = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue