projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
panfrost: Destroy the upload manager allocated in panfrost_create_context()
[mesa.git]
/
src
/
gallium
/
drivers
/
panfrost
/
pan_context.c
diff --git
a/src/gallium/drivers/panfrost/pan_context.c
b/src/gallium/drivers/panfrost/pan_context.c
index 14996b616619b70948a93b5d5b08199eb41ebd89..46fce94eff58d15cb8f88f9c85a7613fdaab4d40 100644
(file)
--- a/
src/gallium/drivers/panfrost/pan_context.c
+++ b/
src/gallium/drivers/panfrost/pan_context.c
@@
-2448,6
+2448,8
@@
panfrost_destroy(struct pipe_context *pipe)
if (panfrost->blitter_wallpaper)
util_blitter_destroy(panfrost->blitter_wallpaper);
+ u_upload_destroy(pipe->stream_uploader);
+
ralloc_free(pipe);
}