Carbon


NSLFreeURL

Header: NSL.h Carbon status: Supported

Frees memory allocated for a URL.

char *NSLFreeURL (
    char *url
);
Parameter descriptions
url

On input, a pointer to a character string obtained by previously calling NSLStandardGetURL.

function result

NULL, which allows URL to be set to NULL and the memory associated with URL to be freed in one step.

DISCUSSION

The NSLFreeURL function frees the memory that is allocated for URL when an application calls NSLStandardGetURL. Your application should call NSLFreeURL when it has no further use for the URL that the user selects in the “Select a Service” dialog box.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when NSL 1.1 or later is present.


© 2000 Apple Computer, Inc. (Last Updated 7/13/2000)