aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2008-11-27 23:03:39 +0000
committernyamatongwe <devnull@localhost>2008-11-27 23:03:39 +0000
commitc35c0639609f9fe94e6e1ffc896e367381aa7d88 (patch)
treea2d2dee472b9959684830bc21710003a90baeaa4
parent6aba8934c678ad75af52855ce4d2a0ff5201d3d3 (diff)
downloadscintilla-mirror-c35c0639609f9fe94e6e1ffc896e367381aa7d88.tar.gz
Fix for bug #2354098 delete without [].
-rw-r--r--macosx/PlatMacOSX.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/PlatMacOSX.cxx b/macosx/PlatMacOSX.cxx
index f8282c5f8..eba9c3177 100644
--- a/macosx/PlatMacOSX.cxx
+++ b/macosx/PlatMacOSX.cxx
@@ -321,7 +321,7 @@ void SurfaceImpl::Polygon(Scintilla::Point *pts, int npts, ColourAllocated fore,
CGContextDrawPath( gc, kCGPathFillStroke );
// Deallocate memory
- delete points;
+ delete [] points;
points = NULL;
}