iris: quiet down static analyzers

Signed-off-by: Marcin Ślusarz <marcin.slusarz@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6067>
This commit is contained in:
Marcin Ślusarz
2020-07-24 20:01:37 +02:00
committed by Marge Bot
parent c3a251f254
commit 56228b0393

View File

@@ -333,6 +333,8 @@ vma_free(struct iris_bufmgr *bufmgr,
if (memzone == IRIS_MEMZONE_BINDER)
return;
assert(memzone < ARRAY_SIZE(bufmgr->vma_allocator));
util_vma_heap_free(&bufmgr->vma_allocator[memzone], address, size);
}