freudian slip
When someone accidentally betrays subconscious thoughts (usually feelings of affection) in dialogue.
A more extensive gag will have someone thinking one line of thought while saying another, accidentally swapping the more private one for the other in the process (in both thought and speech balloons).