mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-10 10:33:29 -05:00
Fix memleaks
Frees memory allocated in TVScreenAnalog::initializeGL() /home/daniele/Programmazione/ham/sdrangel/sdrgui/gui/tvscreenanalog.cpp:232 in TVScreenAnalog::initializeTextures(TVScreenAnalogBuffer*) /home/daniele/Programmazione/ham/sdrangel/sdrgui/gui/tvscreenanalog.cpp:285 in TVScreenAnalog::initializeTextures(TVScreenAnalogBuffer*) /home/daniele/Programmazione/ham/sdrangel/sdrgui/gui/tvscreenanalog.cpp:286
This commit is contained in:
parent
98abefc68b
commit
8b5a5b7f70
@ -131,6 +131,7 @@ TVScreenAnalog::TVScreenAnalog(QWidget *parent) :
|
|||||||
|
|
||||||
TVScreenAnalog::~TVScreenAnalog()
|
TVScreenAnalog::~TVScreenAnalog()
|
||||||
{
|
{
|
||||||
|
cleanup();
|
||||||
delete m_backBuffer;
|
delete m_backBuffer;
|
||||||
delete m_frontBuffer;
|
delete m_frontBuffer;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user