could be the same thing i had, mcyl needed to be replaced.
with mine, it was ok stopping, but if i sat there with the pedal depressed, it would slowly sink to the floor, and i'd have to pump it. it got worse when i replaced the fluid, and replacing the mcyl fixed it.