diff --git a/src/Organya.cpp b/src/Organya.cpp index 99cf654c..3ce94914 100644 --- a/src/Organya.cpp +++ b/src/Organya.cpp @@ -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; } }