[PATCH] wined3d: Check pointer before use

Henri Verbeet hverbeet at gmail.com
Wed Aug 3 02:34:37 CDT 2016


On 3 August 2016 at 04:29, Alistair Leslie-Hughes
<leslie_alistair at hotmail.com> wrote:
> -    if (tq->context->tid != GetCurrentThreadId())
> +    if (!tq->context || tq->context->tid != GetCurrentThreadId())
How can the context be NULL?



More information about the wine-devel mailing list