radv: Free temporary syncobj after waiting on it.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 13 Nov 2017 22:26:32 +0000 (23:26 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 14 Nov 2017 09:03:02 +0000 (10:03 +0100)
commit7c255788637b8fdfc31aca5f7891f39a110c5cb2
tree185acca0e1ab5c3b83afc18de704738da0359a4e
parent917d3b43f2b206ccf036542aa1c39f1dbdd84f62
radv: Free temporary syncobj after waiting on it.

Otherwise we leak it.

Fixes: eaa56eab6da "radv: initial support for shared semaphores (v2)"
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_device.c