[PATCH 2/4] d3drm: Implement IDirect3DRMTexture{2-3}_InitFromImage.

Sebastian Lackner sebastian at fds-team.de
Thu Apr 28 15:01:24 CDT 2016


On 28.04.2016 21:17, Aaryaman Vasishta wrote:
> +    IDirect3DRM_AddRef(texture->d3drm);
> +
> +    if (texture->image)
> +        return D3DRMERR_BADOBJECT;

Doesn't this leak a reference in case of an error? ->initialized is not
set to TRUE yet.




More information about the wine-devel mailing list