nv50/ir: Free target if we failed to create a program
authorPierre Moreau <pierre.morrow@free.fr>
Sat, 6 May 2017 21:47:21 +0000 (23:47 +0200)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sun, 7 May 2017 14:26:36 +0000 (10:26 -0400)
commitdd7ab4dcb4357ee19bf9f0ec4cdc2f8f3502d5c0
tree71fa5f15cf90d4600c81357c5eaf6e95317f8996
parentb490ca9a387dabc6447a3e8f68a185fdd9852692
nv50/ir: Free target if we failed to create a program

Signed-off-by: Pierre Moreau <pierre.morrow@free.fr>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/codegen/nv50_ir.cpp