Urinary incontinence is common amoungst older dogs. My chihuahua leaks due to his enlarged prostate. This may also be a cause for leaks.
In younger dogs a UTI may also be the case.