vc4: Fix memory leak from simple_list conversion.
authorEric Anholt <eric@anholt.net>
Thu, 18 Jun 2015 06:49:19 +0000 (23:49 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 18 Jun 2015 06:53:49 +0000 (23:53 -0700)
commitdc1fbad2eb5454ed36a066d2a69b575cd5a8abaf
tree56b941964c5e908d29e72a22f9fae56c10c81553
parent62d153ea37b1bf572c39aab8ec46099fc903362d
vc4: Fix memory leak from simple_list conversion.

I accidentally shadowed the outside declaration, so we always returned
NULL even when we'd found something in the cache.
src/gallium/drivers/vc4/vc4_bufmgr.c