The Cherries were seconds away from climbing to sixth place when Leeds substitute Sean Longstaff volleyed home in the seventh minute of added time.