[PATCH 5.15 214/691] perf mem: Free the allocated sort string, fixing a leak