Commit e47474cf authored by Giulio Camuffo's avatar Giulio Camuffo
Browse files

Don't access a dangling pointer


The surface's resource may have been destroyed, return a null client
in that case.

Change-Id: I3d7e0f0e94008e003e43f1987e6560dd73f5c5db
Reviewed-by: default avatarLaszlo Agocs <laszlo.agocs@digia.com>
parent 1aca236e
No related merge requests found
Showing with 2 additions and 0 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment