vc4: fix memory leak
authorEric Engestrom <eric@engestrom.ch>
Tue, 12 Jul 2016 22:29:34 +0000 (23:29 +0100)
committerEric Anholt <eric@anholt.net>
Tue, 12 Jul 2016 22:47:12 +0000 (15:47 -0700)
commite8959ba7afbda7a23805072efc15c6f11449103e
tree9f3a89b3aff8e5b84f961ef5e76bf80270df63e2
parentc65a00eaff85160dd556856c8c2eecf3aabdc4d5
vc4: fix memory leak

The allocation has succeeded by that point, so it needs to be freed.

CovID: 1358929
Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/gallium/drivers/vc4/vc4_resource.c