winsys/amdgpu: fix a device handle leak in amdgpu_winsys_create
authorMarek Olšák <marek.olsak@amd.com>
Mon, 19 Nov 2018 23:17:40 +0000 (18:17 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 23 Nov 2018 22:08:44 +0000 (17:08 -0500)
commitd4e7d8b7f053db081a4ffdb59dc53f3531b0e60b
tree0d6863f84c3f07fa71885b6837b4a0188fc94c78
parent82aa07f81fcc5ed696eea16f48cec7e39c3cd3d1
winsys/amdgpu: fix a device handle leak in amdgpu_winsys_create

Cc: 18.2 18.3 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c