Not quite. There is precedent for the new president pardoning the outgoing president, though - Ford pardoned Nixon for anything and everything Nixon had done that was illegal during his term in office. That closed the book on Watergate, but it arguably cost Ford the election to Carter.