intel: gen-decoder: fix xml parser leak
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 12 May 2017 09:49:46 +0000 (10:49 +0100)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 15 May 2017 13:06:11 +0000 (14:06 +0100)
commit55be6653e014e48a5c9cb4977c81c1d7d7b037ab
treea7a81af98b58d95979f4eb6c0ad122f310c8c40d
parent1c8f7d3be6ffb3567041f1e11a037fa7e75e4c28
intel: gen-decoder: fix xml parser leak

In the unlikely case the parsing of genxml files fails, we were
leaking an xml parser object.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/intel/common/gen_decoder.c