panvk: do not leak bindings

There were nothing here cleaning this up.

CID: 1596490
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28856>
This commit is contained in:
Erik Faye-Lund 2024-04-22 14:23:47 +02:00 committed by Marge Bot
parent 8fd171b02d
commit 5df20cac22

View file

@ -77,6 +77,7 @@ panvk_per_arch(GetDescriptorSetLayoutSupport)(
unreachable("Invalid descriptor type");
}
}
free(bindings);
/* The maximum values apply to all sets attached to a pipeline since all
* sets descriptors have to be merged in a single array.