summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Robertson <dan@dlrobertson.com>2018-12-18 21:26:28 +0000
committerMartin Braun <martin.braun@ettus.com>2018-12-18 16:56:11 -0800
commit89285a9a5fdcba3e20fcc9a1fa06d394ba75a25a (patch)
treea254d20117a6f7dc8cf2c72c46938d94b5070cba
parent1a898a1474ef0f78d02d26807f2b288a2fdcc1aa (diff)
filter: Fix pfb_decimator_ccf_impl alloc-dealloc mismatch
The d_rotator member of pfb_decimator_ccf_impl is allocated with new[] but deallocated with delete. It should instead be deallocated with delete[].
-rw-r--r--gr-filter/lib/pfb_decimator_ccf_impl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-filter/lib/pfb_decimator_ccf_impl.cc b/gr-filter/lib/pfb_decimator_ccf_impl.cc
index 75ca47d85b..ff6264ba90 100644
--- a/gr-filter/lib/pfb_decimator_ccf_impl.cc
+++ b/gr-filter/lib/pfb_decimator_ccf_impl.cc
@@ -98,7 +98,7 @@ namespace gr {
pfb_decimator_ccf_impl::~pfb_decimator_ccf_impl()
{
- delete d_rotator;
+ delete[] d_rotator;
}
void