if (aContentType) nsCRT::free(aContentType);
char* aContentType = nsnull; rv = channel->GetContentType(&aContentType); if (NS_FAILED(rv)) return rv; nsCOMPtr<nsIURI> aURL; rv = channel->GetURI(getter_AddRefs(aURL)); if (NS_FAILED(rv)) return rv;
nsPluginCacheListener::OnStartRequest(nsIChannel* channel, nsISupports* ctxt){	char* aContentType = nsnull;	nsIURI* aURL = nsnull;	nsresult rv = NS_OK;    rv = channel->GetContentType(&aContentType);    if (NS_FAILED(rv)) return rv;    rv = channel->GetURI(&aURL);    if (NS_FAILED(rv)) return rv;	// I have delibrately left out the remaining processing. 	// which should just be copied over from the other version of 	// OnStartRequest.	if (aContentType)		nsCRT::free(aContentType);#ifdef USE_CACHE    // i still need to learn how to use the cache object#else    mFileName = strdup("/tmp/plugin.data");    if (!mFileName)      return NS_ERROR_OUT_OF_MEMORY;    mStreamFile = fopen(mFileName, "w+");    if (!mStreamFile)      return NS_ERROR_FAILURE;#endif // USE_CACHE	return rv;}