Properly delete[] arrays
This commit is contained in:
		
							parent
							
								
									689a31580c
								
							
						
					
					
						commit
						abd59be30d
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -330,8 +330,8 @@ struct InputPrivate
 | 
			
		|||
 | 
			
		||||
	~InputPrivate()
 | 
			
		||||
	{
 | 
			
		||||
		delete states;
 | 
			
		||||
		delete statesOld;
 | 
			
		||||
		delete[] states;
 | 
			
		||||
		delete[] statesOld;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	inline ButtonState &getStateCheck(int code)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue