Di Maria was whistled by Real fans which led to him making a gesture to the home crowd before he was taken off by Ancelotti.
"He tried to play, just like everyone else did. It was in a period of the match when the crowd were whistling. Occasionally that is a good thing," said Ancelotti.
"I have not seen the gesture. I shook his hand and then I don’t know what he did. I just changed him to put on two fresh players to open up the defence. He is very important to us and I have a lot of confidence in him. He might have made a mistake, but it’s not a big deal for me. It is news to me if he responded to the crowd and it is a mistake if he has, but life goes on."