In the 4th Season of The Mentalist in Episode 7 Patrick Jane speaks in the Interview on purpose about Red John. He knew how James Penser would talk about Red John and he knew that the Cbi/Fbi would never be able to catch the San joaquin killer. So he practically used Red John to kill him and to secure his thought that Timothy Carter isnt Red John