projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bad95bb
)
v3d: Fix a leak of the transfer helper on screen destroy.
author
Eric Anholt
<eric@anholt.net>
Fri, 7 Dec 2018 18:30:09 +0000
(10:30 -0800)
committer
Eric Anholt
<eric@anholt.net>
Sat, 8 Dec 2018 00:48:23 +0000
(16:48 -0800)
Fixes: 7a30517cce8f ("broadcom/vc5: Start adding support for rendering to Z32F_S8X24_UINT.")
src/gallium/drivers/v3d/v3d_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/v3d/v3d_screen.c
b/src/gallium/drivers/v3d/v3d_screen.c
index 49ea489d5efde154f65732502dcd1de3a7bd5f53..cfde1295ef095fc72a770a759149ad2b95a2ae28 100644
(file)
--- a/
src/gallium/drivers/v3d/v3d_screen.c
+++ b/
src/gallium/drivers/v3d/v3d_screen.c
@@
-32,6
+32,7
@@
#include "util/u_format.h"
#include "util/u_hash_table.h"
#include "util/u_screen.h"
+#include "util/u_transfer_helper.h"
#include "util/ralloc.h"
#include <xf86drm.h>
@@
-74,6
+75,7
@@
v3d_screen_destroy(struct pipe_screen *pscreen)
v3d_simulator_destroy(screen);
v3d_compiler_free(screen->compiler);
+ u_transfer_helper_destroy(pscreen->transfer_helper);
close(screen->fd);
ralloc_free(pscreen);