 It is rumored that a different ending was shot, but discarded later  on. It featured the (long awaited) marriage between Leia Organa and  Han Solo. Dark Horses Comic "Dark Empire" is based on that fact and  presents Han and Leia as a married couple.