Poor goalkeeping from Real Madrid's Kiko Casilla allowed Malaga to equalise at the Santiago Bernabeu.