Most of the time when you get leak from the water dispenser may need to check if the water got some rust, it happens when the main valve is closed then the residue will go into the fridge after it was open.
To fix this issue is a good to put a filter before water gets your refrigirator.