mirror of
				https://github.com/f4exb/sdrangel.git
				synced 2025-11-03 21:20:31 -05: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
 | 
			
		||||
            markerSize = std::max((int)round(beamWidth * degPerPixel), 5);
 | 
			
		||||
 | 
			
		||||
            delete[] beam;
 | 
			
		||||
        }
 | 
			
		||||
        else
 | 
			
		||||
            qDebug() << "StarTrackerGUI::plotSkyTemperatureChart: FITS temperature file not valid";
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user