acl: fix memory leak
If 'i != index' for all acl->entries, variable entry leaks the storage it points to. Signed-off-by: NGonglei <arei.gonglei@huawei.com> Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
Showing
想要评论请 注册 或 登录
If 'i != index' for all acl->entries, variable entry leaks the storage it points to. Signed-off-by: NGonglei <arei.gonglei@huawei.com> Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>