diff options
author | Moritz Fischer <moritz.fischer@ettus.com> | 2013-10-23 09:26:25 +0200 |
---|---|---|
committer | Johnathan Corgan <johnathan@corganlabs.com> | 2013-10-23 04:05:46 -0700 |
commit | 73627eff4e2a16309a9eade5e1b4e45209ce2047 (patch) | |
tree | 0a793a513b00b25975c65c55a7a62384b98a6ed6 | |
parent | 8d62918acf6d1199c616203bf6a5c4dee368c8ec (diff) |
filter: Fixes CID 1046198
d_fft allocated in the constructor wasn't freed in the destructor.
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
-rw-r--r-- | gr-filter/lib/pfb_synthesizer_ccf_impl.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gr-filter/lib/pfb_synthesizer_ccf_impl.cc b/gr-filter/lib/pfb_synthesizer_ccf_impl.cc index 49f45ab8cd..5f0e330ab4 100644 --- a/gr-filter/lib/pfb_synthesizer_ccf_impl.cc +++ b/gr-filter/lib/pfb_synthesizer_ccf_impl.cc @@ -30,7 +30,7 @@ namespace gr { namespace filter { - + pfb_synthesizer_ccf::sptr pfb_synthesizer_ccf::make(unsigned int numchans, const std::vector<float> &taps, @@ -78,6 +78,7 @@ namespace gr { pfb_synthesizer_ccf_impl::~pfb_synthesizer_ccf_impl() { + delete d_fft; for(unsigned int i = 0; i < d_numchans; i++) { delete d_filters[i]; } |