radv: return correct error on invalid handle from vkAllocateMemory
authorDave Airlie <airlied@redhat.com>
Mon, 12 Jun 2017 19:48:40 +0000 (05:48 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 12 Jun 2017 23:30:19 +0000 (09:30 +1000)
commitb9e76b0c4473b8f3ec2ac8208e1cd86852b5fb52
tree2d5e874d0febdcb078cb9b556ca8bfc3eaf929eb
parent8ec4975cd83365c791a1852a6515ed5d4ade2daf
radv: return correct error on invalid handle from vkAllocateMemory

Coverity pointed out this was returning uninitialised.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_device.c