gallium/auxiliary: Fix pb_bufmgr_slab.c leak

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26223>
This commit is contained in:
Sil Vilerino 2023-11-13 13:22:27 -05:00 committed by Marge Bot
parent 695201fe94
commit e6d754f183

View file

@ -440,6 +440,7 @@ pb_slab_manager_destroy(struct pb_manager *_mgr)
struct pb_slab_manager *mgr = pb_slab_manager(_mgr);
/* TODO: cleanup all allocated buffers */
mtx_destroy(&mgr->mutex);
FREE(mgr);
}