radv: fix memory leak when restoring from cache
authorTimothy Arceri <tarceri@itsqueeze.com>
Wed, 10 Jul 2019 04:11:23 +0000 (14:11 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Thu, 11 Jul 2019 00:44:29 +0000 (10:44 +1000)
commitae4ccb67be29b9bca5c3ba8e5ed175901e1645b6
treef390856cefc6ae55e6448b173ea01dc58779cc12
parente03259974e2f2c8e8c0295f8dab56d88e7bd896c
radv: fix memory leak when restoring from cache

Fixes: 726a31df705b ("radv: Add the concept of radv shader binaries.")
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_pipeline_cache.c