Commit Message

There is no point in having two different error goto statement since
the openCSD API to free a decoder handles NULL pointers. As such
function cs_etm_decoder__free() can be called to deal with all
aspect of freeing decoder memory.
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
---
tools/perf/util/cs-etm-decoder/cs-etm-decoder.c | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)