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
|
@ -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…
Reference in New Issue