The infirmary wasn’t an especially popular spot for making out, so it was rarely patrolled and unless Malfoy’s injuries were so serious that Madam Pomfrey would spend the night in her office in case of an emergency, she should be able to make sure that he was fine without any problems.