drm/qxl: Handle correctly failures in qxl_alloc_relase_reserved
authorFrediano Ziglio <fziglio@redhat.com>
Wed, 3 Jun 2015 11:09:15 +0000 (12:09 +0100)
committerDave Airlie <airlied@redhat.com>
Fri, 5 Jun 2015 01:00:50 +0000 (11:00 +1000)
commitde0b523a5a4c99859513238559d62e0dd4a9a67e
treeecfff5ef1abb038e89a938d83e595afc575b0cce
parent6ecf5c2b571e47b87568446f86b00838fcd0294d
drm/qxl: Handle correctly failures in qxl_alloc_relase_reserved

Free resources correctly if function fails

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/qxl/qxl_release.c