nouveau: fix frees in unsupported IR error paths.
authorDave Airlie <airlied@redhat.com>
Tue, 18 Jun 2019 21:10:13 +0000 (07:10 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 18 Jun 2019 22:32:19 +0000 (08:32 +1000)
commit93ba356544a16e1f2bb0be3550d3b24ec2e5b13a
treee3ea9e5d2e73a270764433dfc876c44a6a7bfab3
parentad284f794cdd1de7d4546b1cb2a3772860436da4
nouveau: fix frees in unsupported IR error paths.

This is pointless in that we won't ever hit those paths in real life,
but coverity complains.

Fixes: f014ae3c7cce ("nouveau: add support for nir")
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nv50/nv50_program.c
src/gallium/drivers/nouveau/nv50/nv50_state.c
src/gallium/drivers/nouveau/nvc0/nvc0_program.c
src/gallium/drivers/nouveau/nvc0/nvc0_state.c