Depends which end was leaking as to how much work needed, lots either way!
Trans. end, it's pull the trans. - clutch - flywheel just for access for example.
Dealer warranty on a used car is well worth buying it that way for anything other than a "beater". I'd hate to pay the big $ for a fairly "new" car then have to fix a major issue.