Fix a mem leak (spotted by Pav) r=me

This commit is contained in:
gagan%netscape.com 2000-01-25 02:29:33 +00:00
parent 8b24f3a078
commit a6fa44fcaf

@ -379,6 +379,7 @@ nsresult nsHTTPRequest::WriteRequest(nsIChannel *aTransport, PRBool aIsProxied)
mRequestBuffer.Append(": ");
mRequestBuffer.Append(autoBuffer);
mRequestBuffer.Append(CRLF);
nsCRT::free(fieldName);
}
enumerator->HasMoreElements(&bMoreHeaders);
}