It was after this Obama administration leak that the CIA decided to pull the source. The reason he was not actually pulled at the time is that he initially refused -- a decision the Times reports raised concerns that "the informant had been turned and had become a double agent."
Eventually, the source changed his mind. But the decision was made before Trump came to office.
That's not all. CNN falsely reported that the source was pulled after Trump's meeting with Russia officials in which he shared intelligence on Syria that was "provided by Israel." But as I pointed out in May 2017, Trump did not reveal that Israel was the source of the intelligence. That classified information was revealed to the Times by what the paper described as "a current and a former American official familiar with how the United States obtained the information."
Any former official familiar with that intelligence was from the Obama administration. So this leak also came from Team Obama. Even Brennan, the Obama CIA director and virulent Trump critic, admitted that Trump was not to blame and said that "the real damage to national security is ... what was leaked in the aftermath, what was put in the media."
CNN tries to blame Trump for the Obama administration's leaks