st/mesa: fix reference counting bug in st_vdpau
authorChristian König <christian.koenig@amd.com>
Wed, 13 Jul 2016 12:54:31 +0000 (14:54 +0200)
committerChristian König <christian.koenig@amd.com>
Thu, 14 Jul 2016 07:33:44 +0000 (09:33 +0200)
commit9ce52baf7f479d506bcea17a371dcf2fad92f139
tree7db8bd9e9371cdfba05621657be87d4310cd09f3
parent9194473dd260fe72042807a97be0072c6f0537da
st/mesa: fix reference counting bug in st_vdpau

Otherwise we leak the resources created for the DMA-buf descriptors.

Signed-off-by: Christian König <christian.koenig@amd.com>
Cc: 12.0 <mesa-stable@lists.freedesktop.org>
Tested-and-Reviewed by: Leo Liu <leo.liu@amd.com>
Ack-by: Tom St Denis <tom.stdenis@amd.com>
src/mesa/state_tracker/st_vdpau.c