Browse Source

Merge pull request #2925 from rgetz/rgetz-fix-glspectrumview-use-after-free

device/deviceuiset: Fix GLSpectrumView use-after-free
chirpmodem-v8.0.0
Edouard Griffiths 2 months ago committed by GitHub
parent
commit
31b60d86bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      sdrgui/device/deviceuiset.cpp

1
sdrgui/device/deviceuiset.cpp

@ -79,6 +79,7 @@ DeviceUISet::DeviceUISet(int deviceSetIndex, DeviceSet *deviceSet) @@ -79,6 +79,7 @@ DeviceUISet::DeviceUISet(int deviceSetIndex, DeviceSet *deviceSet)
DeviceUISet::~DeviceUISet()
{
m_spectrumVis->setGLSpectrum(nullptr);
delete m_mainSpectrumGUI;
}

Loading…
Cancel
Save