1
0
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:
Jon Beniston 2021-04-28 15:34:54 +01:00
parent af910fba5e
commit 51960a869e

View File

@ -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";