Shortly after returning to the attic bedroom and resuming their same seats as before, Hermione reached into her pocket to pull out the three vials she'd been carrying around all day. She explained to him which vial contained which potion. After a silent sniff of each, he tucked them into his own pocket.