No, it could be worse. What if McGonagall had caught them? Or Harry? Or Ron? She would’ve had to drop out and transfer to Beauxbatons. Not because she was ashamed of Malfoy but because she wouldn’t want to face the incessant questions or disbelieving looks.