[PATCH 175/237] perf metricgroup: Free metric_events on error