[PATCH AUTOSEL 4.9 15/27] perf build-id: Fix memory leak in print_sdt_events()