Commit 5d55ca9c authored by Lionel Landwerlin's avatar Lionel Landwerlin Committed by Marge Bot
Browse files

anv: fix descriptor pool leak in VMA object

Quoting the spec :

   "When a pool is destroyed, all descriptor sets allocated from the
    pool are implicitly freed and become invalid. Descriptor sets
    allocated from a given pool do not need to be freed before
    destroying that descriptor pool."

This implies we might leak nodes allocated in the vma object.
Signed-off-by: Lionel Landwerlin's avatarLionel Landwerlin <>
Fixes: 0a6d2593

 ("anv: Allocate descriptor buffers from the BO cache")
Reviewed-by: Jason Ekstrand's avatarJason Ekstrand <>
Part-of: <!7796>
parent df940760
Pipeline #234992 waiting for manual action with stages
in 23 seconds