[PATCH v3 1/4] ddraw: Don't crash if writing out a new ddraw1 surface segfaults.

Sebastian Lackner sebastian at fds-team.de
Sat Jan 28 16:05:41 CST 2017


On 28.01.2017 22:59, Alex Henrie wrote:
> +    __TRY
>      {
> -        *surface = NULL;
> -        return hr;
> +        if (FAILED(hr))
> +        {
> +            *surface = NULL;
> +            return hr;
> +        }

Its not possible to use return in a __TRY block.




More information about the wine-devel mailing list