rdpei: Fix possible NULL ptr access
This commit is contained in:
parent
9b4de7903f
commit
2396e37d8a
@ -228,7 +228,7 @@ static void* rdpei_schedule_thread(void* arg)
|
||||
|
||||
out:
|
||||
|
||||
if (error && rdpei->rdpcontext)
|
||||
if (error && rdpei && rdpei->rdpcontext)
|
||||
setChannelError(rdpei->rdpcontext, error,
|
||||
"rdpei_schedule_thread reported an error");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user