intel/compiler: Fix resource leak in error path
authorDanylo Piliaiev <danylo.piliaiev@globallogic.com>
Tue, 13 Aug 2019 08:25:03 +0000 (11:25 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Thu, 15 Aug 2019 08:17:36 +0000 (08:17 +0000)
commit72354d43d405624f09182fe8dfe3bea1a35a9194
tree20bb0a70b9f18514fa3eee89da315ffdb61bbad4
parent44a6c38bd678f34c6a3c5446bfc422de13f45f8e
intel/compiler: Fix resource leak in error path

CID: 1452261

Fixes: 04a99515 "intel/compiler: add ability to override shader's assembly"
Signed-off-by: Danylo Piliaiev <danylo.piliaiev@globallogic.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/intel/compiler/brw_eu.c