[PATCH 6.6 467/568] perf: Fix event leak upon exit