tests: fix bios-tables-test leak
The inside array should be free too. Spotted by ASAN. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com>
This commit is contained in:
		
							parent
							
								
									2c8f86961b
								
							
						
					
					
						commit
						f11dc27bcc
					
				@ -144,7 +144,7 @@ static void free_test_data(test_data *data)
 | 
			
		||||
        g_free(temp->asl_file);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    g_array_free(data->tables, false);
 | 
			
		||||
    g_array_free(data->tables, true);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static uint8_t acpi_checksum(const uint8_t *data, int len)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user