Waldheim was investigated by the tribunal on Nazi war crimes and they never found any evidence that Waldheim took part in any war crimes.
He was guilty of lying about his military positions with the Wehrmacht while stationed in Greece and Bosnia. He had no involvement with persecuting Jews or concentration camps.
He was still a Nazi, who knew what was going on.