The lease that you currently have in place is a contract that the successor landlord (i.e. new owner) is obligated under law to honor.  In fact, one of the documents that is transferred by the old owner to the new owner upon transfer of title to the property is an" assignment of lease".  This means that the new landlord is standing in the shoes of the old landlord and is bound by the terms of any existing leases.  It is the terms of the lease that controls when you must move out. As long as you are not in breach, you have no worries.