FR 7045 then LH 981 at Dublin
Málaga → Dublin → Frankfurt am Main
Timetable, Dublin time
22:55FR 7045 from Málaga at the gate
17:15LH 981 to Frankfurt am Main leaves the gate
18 h 20 apart on the timetable, overnight
LH 981 leaves 18 h 20 after FR 7045 arrives on the timetable: more than half a day, so not a connection we count.