![]() |
URLDisposeReference |
||||
Header: | URLAccess.h | Carbon status: | Supported | |
Disposes of the memory associated with a URL reference.
OSStatus URLDisposeReference ( URLReference urlRef );
A reference to the URL whose associated memory you wish to dispose of. You should call the URLDisposeReference function to release the memory occupied by a URL reference when you are finished with it.
A result code.
You must call the URLDisposeReference function to dispose of the reference associated with a URL reference even if the data transfer operation fails. Failure to call URLDisposeReference may result in thread or memory leaks.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)