My guess would be the control valve before I would go after a hydraulic motor. If you can find the manufacturer you can buy internal parts instead of replacing the whole motor. Did that once also instead of buying a whole new motor.
Had this happen twice, once on a chipper, same problem, also a...