freedreno: fix memory leak
authorRob Clark <robdclark@gmail.com>
Fri, 24 Mar 2017 21:03:05 +0000 (17:03 -0400)
committerRob Clark <robdclark@gmail.com>
Fri, 24 Mar 2017 21:49:00 +0000 (17:49 -0400)
commitc03f6f12bbe6fb491c9362b3fd5d39b9f4fd05fd
tree502fe12a30b11b6a6758b0c476aa4cc5a741aeb6
parentb3f81e06d453d09533d7a25defd9a677d8159671
freedreno: fix memory leak

Otherwise blitter would still hold a ref to, for example, sampler-
views.

To reproduce:

   glmark2 -b desktop:duration=2 --run-forever

Fixes: a8e6734 ("freedreno: support for using generic clear path")
Cc: "13.0 17.0" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/freedreno_draw.c