diff options
author | singler <singler@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-08-12 17:23:00 +0000 |
---|---|---|
committer | singler <singler@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-08-12 17:23:00 +0000 |
commit | 77cdb8376df695de344ff9ef9d0a670be7aede8e (patch) | |
tree | 67cd887000343e274d40140d8ae2c564febc58ba /libstdc++-v3 | |
parent | b8ddfc6138be7a0036527584aca9ba9fe5aad356 (diff) | |
download | gcc-77cdb8376df695de344ff9ef9d0a670be7aede8e.tar.gz |
2008-08-12 Johannes Singler <singler@ira.uka.de>
* include/paralle/losertree.h
(LoserTreePointerBase<>::~LoserTreePointerBase):
Replace delete by appropriate delete[].
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@139026 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
-rw-r--r-- | libstdc++-v3/ChangeLog | 6 | ||||
-rw-r--r-- | libstdc++-v3/include/parallel/losertree.h | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index a57584726e4..a3ac3d1d7e5 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2008-08-12 Johannes Singler <singler@ira.uka.de> + + * include/paralle/losertree.h + (LoserTreePointerBase<>::~LoserTreePointerBase): + Replace delete by appropriate delete[]. + 2008-08-12 Paolo Carlini <paolo.carlini@oracle.com> * configure.ac: Run unconditionally GLIBCXX_CHECK_INT64_T and diff --git a/libstdc++-v3/include/parallel/losertree.h b/libstdc++-v3/include/parallel/losertree.h index b7f8da036ae..7e50bb13d50 100644 --- a/libstdc++-v3/include/parallel/losertree.h +++ b/libstdc++-v3/include/parallel/losertree.h @@ -376,7 +376,7 @@ public: } ~LoserTreePointerBase() - { ::operator delete(losers); } + { ::operator delete[](losers); } int get_min_source() { return losers[0].source; } |