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:
Marc-André Lureau 2017-02-05 14:48:20 +04:00
parent 2c8f86961b
commit f11dc27bcc

View File

@ -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)