提交 f11dc27b 编写于 作者: M Marc-André Lureau

tests: fix bios-tables-test leak

The inside array should be free too.
Spotted by ASAN.
Signed-off-by: NMarc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: NMarkus Armbruster <armbru@redhat.com>
上级 2c8f8696
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册