Commit 9604d19a authored by Olivier Blin's avatar Olivier Blin Committed by Olivier Blin
Browse files

Fix shm buffers init and destruction on failure


Some pointers need to be initialized in QWaylandBuffer and
QWaylandShmBuffer, and checked at destruction.

This avoids crashes when shm surface creation fails.

Change-Id: I6f6afa3cc6c67533b5130700cbc27b271764109e
Reviewed-by: default avatarGiulio Camuffo <giulio.camuffo@jollamobile.com>
parent 6ac99af0
No related merge requests found
Showing with 12 additions and 5 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