[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mozilla-patches
Subject:    patch:
From:       "Bruce Mitchener Jr." <bruce () cybersight ! com>
Date:       1999-03-28 9:59:48
[Download RAW message or body]

I can check this in if you like.

 - Bruce

Index: mozilla/htmlparser/src/nsHTMLContentSinkStream.cpp
===================================================================
RCS file: /cvsroot/mozilla/htmlparser/src/nsHTMLContentSinkStream.cpp,v
retrieving revision 3.27
diff -u -r3.27 nsHTMLContentSinkStream.cpp
--- nsHTMLContentSinkStream.cpp	1999/03/15 19:19:01	3.27
+++ nsHTMLContentSinkStream.cpp	1999/03/28 09:06:02
@@ -863,7 +863,7 @@
     char*   buffer = new char[size+1];
     data.ToCString(buffer,size+1);
     aStream << buffer;
-    delete buffer;
+    delete[] buffer;
   }
   else
   {

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic