President Trump on Thursday pledged to punish people who leaked damaging information about the inner workings of the White House, including former national security adviser Michael Flynn's conversations with Russia.