Module: Mesa
Branch: master
Commit: bc1593a9cdf9b9a7a50cd148b916e3e3948977fb
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=bc1593a9cdf9b9a7a50cd148b916e3e3948977fb

Author: Erik Faye-Lund <[email protected]>
Date:   Tue Dec 15 10:41:57 2020 +0100

zink: destroy transfer-helper

Reviewed-By: Mike Blumenkrantz <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8099>

---

 src/gallium/drivers/zink/zink_screen.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/gallium/drivers/zink/zink_screen.c 
b/src/gallium/drivers/zink/zink_screen.c
index f0b750f9444..550c1551e8b 100644
--- a/src/gallium/drivers/zink/zink_screen.c
+++ b/src/gallium/drivers/zink/zink_screen.c
@@ -39,6 +39,7 @@
 #include "util/u_memory.h"
 #include "util/u_screen.h"
 #include "util/u_string.h"
+#include "util/u_transfer_helper.h"
 
 #include "frontend/sw_winsys.h"
 
@@ -679,6 +680,8 @@ zink_destroy_screen(struct pipe_screen *pscreen)
       screen->vk_DestroyDebugUtilsMessengerEXT(screen->instance, 
screen->debugUtilsCallbackHandle, NULL);
    }
 
+   u_transfer_helper_destroy(pscreen->transfer_helper);
+
    slab_destroy_parent(&screen->transfer_pool);
    FREE(screen);
 }

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to