Two lines come out of the master cylinder. If memory serves, they go to the ABS leaving the direct to wheel runs (4) coming out of the ABS. Under your hood I believe it (ABS) is on the left side.
If this is the passenger front wheel (probably given your hit curb statement), it's probably not too much effort to replace. Otherwise...
I have been told if you replace the hard line to the ABS, you will get air into the ABS. As such, you'll need to to take it to the dealer to have them bleed the ABS using the Tech II tool.
Of course please verify with a qualified mechanic.
Mods: GM Locking Gas Cap, RS License Plate Frame