mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-09 16:41:14 +02:00
Fix crash in FreqWindow when replotting without any tracks
This commit is contained in:
parent
0ac4c53bb9
commit
f0d1dda3f9
1
src/FreqWindow.cpp
Normal file → Executable file
1
src/FreqWindow.cpp
Normal file → Executable file
@ -557,6 +557,7 @@ void FreqWindow::GetAudio()
|
|||||||
{
|
{
|
||||||
if (mData) {
|
if (mData) {
|
||||||
delete [] mData;
|
delete [] mData;
|
||||||
|
mData = NULL;
|
||||||
}
|
}
|
||||||
mDataLen = 0;
|
mDataLen = 0;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user