mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
panfrost: Destroy the upload manager allocated in panfrost_create_context()
pipe->stream_uploader has been allocated with u_upload_create_default() in panfrost_create_context(), let's destroy it in the context destroy path. Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
This commit is contained in:
parent
ddc588ff71
commit
8c8e4fd5c6
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue