projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0626e3a
)
freedreno: Fix leak of u_transfer_helper.
author
Eric Anholt
<eric@anholt.net>
Wed, 18 Nov 2020 00:42:00 +0000
(16:42 -0800)
committer
Marge Bot
<eric+marge@anholt.net>
Wed, 2 Dec 2020 20:43:33 +0000
(20:43 +0000)
Fixes: d1465b3aeee3 ("freedreno: use u_transfer_helper")
Reviewed-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7695>
src/gallium/drivers/freedreno/freedreno_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/freedreno/freedreno_screen.c
b/src/gallium/drivers/freedreno/freedreno_screen.c
index 2389e17fd0f5b3a50f34abed02e2366843894982..4bbd5bb054741a78cea690ab29e83377c0240766 100644
(file)
--- a/
src/gallium/drivers/freedreno/freedreno_screen.c
+++ b/
src/gallium/drivers/freedreno/freedreno_screen.c
@@
-162,6
+162,8
@@
fd_screen_destroy(struct pipe_screen *pscreen)
simple_mtx_destroy(&screen->lock);
+ u_transfer_helper_destroy(pscreen->transfer_helper);
+
if (screen->compiler)
ir3_compiler_destroy(screen->compiler);