*aURL = nsCRT::strdup(mRelatedLinksURL);
*aURL = nsXPIDLCString::Copy(mRelatedLinksURL);
RelatedLinksHandlerImpl::GetURL(char** aURL){	NS_PRECONDITION(aURL != nsnull, "null ptr");	if (! aURL)		return NS_ERROR_NULL_POINTER;	if (mRelatedLinksURL)	{		*aURL = nsCRT::strdup(mRelatedLinksURL);		return *aURL ? NS_OK : NS_ERROR_OUT_OF_MEMORY;	}	else	{		*aURL = nsnull;		return NS_OK;	}}