[Mesa-dev] [PATCH 13/22] anv/wsi: split image alloc/free out to separate fns.

Dave Airlie airlied at gmail.com
Thu Oct 20 00:53:08 UTC 2016


>> -fail_image:
>> -   anv_DestroyImage(vk_device, vk_image, pAllocator);
>> +   chain->base.image_fns->free_wsi_image(vk_device, pAllocator,
>> +                                         image->image, image->memory);
>
> Coverity points out that this code is unreachable.  Should it be
> removed, now that fail_mem and fail_image are gone?

Just got a patch from Eric Engestrom to fix it.

Thanks.
Dave.


More information about the mesa-dev mailing list