If the reservoir can be unplugged, remove it from the master cylinder. If it has not been emptied seal the bottom outlets with your fingers to catch any drips.
If a master cylinder is leaking replace it. The cylinder is usually mounted on the bulkhead sepa...