panfrost: Destroy the upload manager allocated in panfrost_create_context()
[mesa.git] / src / gallium / drivers / panfrost / pan_context.c
index 14996b616619b70948a93b5d5b08199eb41ebd89..46fce94eff58d15cb8f88f9c85a7613fdaab4d40 100644 (file)
@@ -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);
 }