1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-10 16:43:33 +02:00

fix a memory leak

This commit is contained in:
Paul Licameli
2015-08-17 08:39:28 -04:00
parent 5d2ccbc207
commit 2855186408

View File

@@ -126,9 +126,8 @@ SpectrogramSettings &SpectrogramSettings::operator= (const SpectrogramSettings &
findNotesQuantize = other.findNotesQuantize;
#endif
// Do not copy these!
hFFT = 0;
window = 0;
// Invalidate the caches
DestroyWindows();
}
return *this;
}