When you move out prior to the end of the lease, the landlord has a legal obligation to try to rent your unit again as quickly as possible. However, if landlord manage to find the a new tenant to you apartment, you won't pay rent, cause double-charged rent is illegal.