[PATCH 5.0 38/93] perf build-id: Fix memory leak in print_sdt_events()