Like a shitty thing to do. He handed the election to Trump, essentially.
I think he is a rogue. I suspect the IG agrees. I don't think it was particularly evil to keep the memos. He was going to get thrown under the bus because he wouldn't swear loyalty, and he wanted proof.