panfrost: Destroy the upload manager allocated in panfrost_create_context()
authorBoris Brezillon <boris.brezillon@collabora.com>
Wed, 6 Nov 2019 14:49:43 +0000 (15:49 +0100)
committerBoris Brezillon <boris.brezillon@collabora.com>
Thu, 7 Nov 2019 07:33:08 +0000 (08:33 +0100)
commit8c8e4fd5c60d4b09d7e4153c83560f0668c3a80d
treeff69bb01e593ebc28d70a48c627ea04d752496ef
parentddc588ff71ef9fdb87ef476f91bc716383dbeb77
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>
src/gallium/drivers/panfrost/pan_context.c