Tarkin; "Terminate her! Immediately"
Solo; "Not a bad bit of rescueing!"
Leia; "They're tracking us, no other explanation for the ease of our escape"
Solo; "Not this ship sister"
So after all that resistance to reveal the whereabouts of the base to the empire (including the destruction of her home planet), what does Leia do? Yep, knowingly leads the empire straight to the base she has been hiding.
Lucas' logic was pathetic even back in the 70's.