[vulkan] Free the alias model resource block

I forgot to do so when switching to using resource (plugs a leak).
This commit is contained in:
Bill Currie 2024-01-02 16:52:52 +09:00
parent f5ebc1083f
commit dfcad353fb

View file

@ -93,6 +93,7 @@ vulkan_alias_clear (model_t *m, void *data)
}
mesh = (qfv_alias_mesh_t *) ((byte *) hdr + hdr->commands);
QFV_DestroyResource (device, mesh->resources);
free (mesh->resources);
__auto_type skins = (maliasskindesc_t *) ((byte *) hdr + hdr->skindesc);
for (int i = 0; i < hdr->mdl.numskins; i++) {