radeon/uvd: fix contex buffer destruction in the error path
authorChristian König <christian.koenig@amd.com>
Thu, 7 Jul 2016 09:22:32 +0000 (11:22 +0200)
committerChristian König <christian.koenig@amd.com>
Fri, 8 Jul 2016 19:03:32 +0000 (21:03 +0200)
commit6b474e06a210ab2045250035f5e135f7fb39eff2
treeaeef167e55608623177e35c44e24bc3571b6ea7a
parent36df04dac4a2f8a714f2497465cc983dab849246
radeon/uvd: fix contex buffer destruction in the error path

Destroying a not allocated buffer is harmless.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
src/gallium/drivers/radeon/radeon_uvd.c