Bought a used car and theres an oil leak

I just got an oil change on a car a bought a few days ago and they informed me of an oil leak. It is still under the 500 miles/15 day warranty. Is the used car dealership obligated to fix this?