In which sentence us a comma used correctly

The girl, who was wearing a red dress, smiled at me.