Mesa (master): turnip: use ir3_compiler_destroy instead of ralloc_free
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Dec 22 05:08:06 UTC 2020
Module: Mesa
Branch: master
Commit: ec1464077bb0cfad1e0a5181a976fbb8ba8015a4
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ec1464077bb0cfad1e0a5181a976fbb8ba8015a4
Author: Hyunjun Ko <zzoon at igalia.com>
Date: Thu Nov 19 01:36:13 2020 +0000
turnip: use ir3_compiler_destroy instead of ralloc_free
Fixes: c0f22c3d9406ef3 "freedreno/ir3: add ir3_compiler_destroy()"
Signed-off-by: Hyunjun Ko <zzoon at igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6808>
---
src/freedreno/vulkan/tu_device.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/freedreno/vulkan/tu_device.c b/src/freedreno/vulkan/tu_device.c
index d04f2578c0e..2e893e00507 100644
--- a/src/freedreno/vulkan/tu_device.c
+++ b/src/freedreno/vulkan/tu_device.c
@@ -1217,7 +1217,7 @@ fail_global_bo_map:
tu_bo_finish(device, &device->global_bo);
fail_global_bo:
- ralloc_free(device->compiler);
+ ir3_compiler_destroy(device->compiler);
fail_queues:
for (unsigned i = 0; i < TU_MAX_QUEUE_FAMILIES; i++) {
More information about the mesa-commit
mailing list