A leaking chainsaw can occur for a number of reasons.  It might simply be that you have overfilled the oil reservoir and thus the excess oil is leaking.  If you check this and it’s not the case then your fill plug might not be sealed properly, or your outlets might be clogged. Clean your machine thoroughly and then check for leakages again. Your user manual is important when conducting these checks and will show you where everything is.
A little trick that engineers use to determine whether their oil is working optimally is to place a piece of white card on the floor and rev the chainsaw over it (without touching it). If a fine mist of spray appears on your card then your device is working well! A little bit of oil spray is completely normal; however excess leakage needs to be addressed.