summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-06-27 11:11:51 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-06-27 11:21:57 +0100
commit067a0b32c44eeddce8b6101dec5ed6586108752f (patch)
tree508d7364c1bd9e2a12a68ea21837af3352e87454
parentfdo#47646 fix undo of ungrouping (diff)
downloadcore-067a0b32c44eeddce8b6101dec5ed6586108752f.tar.gz
core-067a0b32c44eeddce8b6101dec5ed6586108752f.zip
valgrind: mismatched new[]/delete
Change-Id: I9895ca15680c01da17a59cb7da51478d5f61657e
-rw-r--r--vcl/source/window/splitwin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/splitwin.cxx b/vcl/source/window/splitwin.cxx
index e92df5a98d44..28f1780c3f00 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;