diff options
author | nyamatongwe <devnull@localhost> | 2008-11-27 23:03:39 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2008-11-27 23:03:39 +0000 |
commit | c35c0639609f9fe94e6e1ffc896e367381aa7d88 (patch) | |
tree | a2d2dee472b9959684830bc21710003a90baeaa4 | |
parent | 6aba8934c678ad75af52855ce4d2a0ff5201d3d3 (diff) | |
download | scintilla-mirror-c35c0639609f9fe94e6e1ffc896e367381aa7d88.tar.gz |
Fix for bug #2354098 delete without [].
-rw-r--r-- | macosx/PlatMacOSX.cxx | 2 |
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; } |