delete vs. delete[] vs. free fixes.

Thanks to "Bruce Mitchener, Jr." <bruce@cybersight.com for finding all these
and making patches.


git-svn-id: svn://10.0.0.236/trunk@25592 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
ramiro%netscape.com
1999-03-30 05:26:59 +00:00
parent abde8984f1
commit 52ef5e02cd
24 changed files with 87 additions and 55 deletions

View File

@@ -863,7 +863,7 @@ void nsHTMLContentSinkStream::AddStartTag(const nsIParserNode& aNode, ostream& a
char* buffer = new char[size+1];
data.ToCString(buffer,size+1);
aStream << buffer;
delete buffer;
delete[] buffer;
}
else
{