add the remaining deletes, spectrum lines mult by dpiScale

This commit is contained in:
Eknous-P 2025-11-01 16:07:01 +04:00
parent d8d1993a4a
commit bde9d9a890
4 changed files with 22 additions and 5 deletions

View file

@ -8611,9 +8611,17 @@ bool FurnaceGUI::finish(bool saveConfig) {
delete[] spectrum.in;
spectrum.in=NULL;
}
if (spectrum.plan) {
fftw_free(spectrum.plan);
spectrum.plan=NULL;
}
if (spectrum.buffer) {
fftw_free(spectrum.buffer);
}
if (spectrum.plot) {
delete[] spectrum.plot;
spectrum.plot=NULL;
}
return true;
}