UA 769 then VY 1544 at Barcelona
Chicago → Barcelona → Málaga
Timetable, Barcelona time
13:15UA 769 from Chicago at the gatealso AC 4791, LH 8546
10:25VY 1544 to Málaga leaves the gatealso IB 5184, LL 5184
21 h 10 apart on the timetable, overnight
VY 1544 leaves 21 h 10 after UA 769 arrives on the timetable: more than half a day, so not a connection we count.