pre-authorization time limit?

How long are the funds for a pre-authorization held for?  Is there a time limit?  Do the funds get automatically released after some period of time if a capture is not performed?