When you press the brake pedal, brake booster is using vacuum from intake manifold through a hose with a check valve that allows flow in one direction. If booster is air tight, it is "sucked" by vacuum, revs may go slightly up as manifold gets a bit of air from the booster and then back down almost immediately. But if booster is leaking air, it continues giving more air to the manifold - revs just increase just a bit or more, depending on the size of the leak.