Real Madrid kept up the chase in La Liga's title race with a 3-1 win over Malaga at the Santiago Bernabeu. The hosts lost Gareth Bale to an early injury but broke the deadlock when captain Sergio Ramos converted James Rodriguez's free-kick.