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
1 changed files with 1 additions and 1 deletions

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)