bug #85271: sr=waterson, r={beard, jag, dbaron}, a=asa. Eliminate features of |nsXPIDLC?String| that keep it out of the string hierarchy (i.e., using assigment to rebind ownership, static |Copy| members, and |getter_Shares|), fixing some leaks in the process.

git-svn-id: svn://10.0.0.236/trunk@97289 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
scc%mozilla.org
2001-06-17 05:23:38 +00:00
parent 39c092ec2e
commit 90f810b66a
77 changed files with 333 additions and 650 deletions

View File

@@ -417,7 +417,7 @@ nsFingerChannel::SendRequest(nsITransport* aTransport) {
requestBuffer.Append(CRLF);
mRequest = requestBuffer.ToNewCString();
mRequest.Adopt(ToNewCString(requestBuffer));
rv = NS_NewCharInputStream(getter_AddRefs(result), mRequest);
if (NS_FAILED(rv)) return rv;