Skip to content
Commit bdeab786 authored by Dave Airlie's avatar Dave Airlie Committed by Olivier Fourdan
Browse files

shm: move shmsize verify before allocating the drawable.



Otherwise if the VERIFY_SHMSIZE macro fails we leak the drawables
we allocated earlier.

Noticed by coverity scan.

Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
(cherry picked from commit 3439929c)
parent 8e646ca9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment