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:Dave Airlie <airlied@redhat.com> (cherry picked from commit 3439929c)
Loading
Please register or sign in to comment