virgl: Fix pipe_resource leaks under multi-sample.
authorLepton Wu <lepton@chromium.org>
Tue, 10 Sep 2019 03:42:55 +0000 (03:42 +0000)
committerChia-I Wu <olvaffe@gmail.com>
Tue, 10 Sep 2019 03:42:55 +0000 (03:42 +0000)
commit263136fb5d2646bea718579de272729b2474d31a
tree916d692b9d6ecae63f74fa96ba5c8893a64c877e
parent410894c643274975aab781e9c412f7a339a7547b
virgl: Fix pipe_resource leaks under multi-sample.

Fixes: 900a80f9e4f ("virgl: virgl_transfer should own its virgl_resource")
Signed-off-by: Lepton Wu <lepton@chromium.org>
Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
src/gallium/drivers/virgl/virgl_texture.c