[Libreoffice-commits] core.git: vcl/source
Caolán McNamara
caolanm at redhat.com
Thu Jun 27 03:22:41 PDT 2013
vcl/source/window/splitwin.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 067a0b32c44eeddce8b6101dec5ed6586108752f
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Jun 27 11:11:51 2013 +0100
valgrind: mismatched new[]/delete
Change-Id: I9895ca15680c01da17a59cb7da51478d5f61657e
diff --git a/vcl/source/window/splitwin.cxx b/vcl/source/window/splitwin.cxx
index e92df5a..28f1780 100644
--- a/vcl/source/window/splitwin.cxx
+++ b/vcl/source/window/splitwin.cxx
@@ -2572,7 +2572,7 @@ void SplitWindow::Tracking( const TrackingEvent& rTEvt )
if ( rTEvt.IsTrackingEnded() )
{
- delete mpLastSizes;
+ delete [] mpLastSizes;
mpLastSizes = NULL;
mpSplitSet = NULL;
mnMouseOff = 0;
More information about the Libreoffice-commits
mailing list