mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-05-30 05:52:24 -04:00
Fix small memory leak in Star Tracker
This commit is contained in:
parent
af910fba5e
commit
51960a869e
@ -848,6 +848,8 @@ void StarTrackerGUI::plotSkyTemperatureChart()
|
|||||||
|
|
||||||
// Scale marker size by beamwidth
|
// Scale marker size by beamwidth
|
||||||
markerSize = std::max((int)round(beamWidth * degPerPixel), 5);
|
markerSize = std::max((int)round(beamWidth * degPerPixel), 5);
|
||||||
|
|
||||||
|
delete[] beam;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
qDebug() << "StarTrackerGUI::plotSkyTemperatureChart: FITS temperature file not valid";
|
qDebug() << "StarTrackerGUI::plotSkyTemperatureChart: FITS temperature file not valid";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user