She got up and tried to cover herself, which was difficult with a ripped dress. This time she didn’t regret it but she still didn’t want to stay in the same room as him any longer than she needed to. Malfoy whispered a spell and her dress repaired itself.