diff options
author | Tom Rondeau | 2012-11-26 10:34:55 -0500 |
---|---|---|
committer | Tom Rondeau | 2012-11-26 10:34:55 -0500 |
commit | 552b310e49d3584cb61aec18bd9db1f6abf4e3ac (patch) | |
tree | c7acfe942fb5de56e3fb92f3bea5b50c24b56dde | |
parent | 9f83463dd5915b307c475a86b8ea46341e63cba6 (diff) | |
download | gnuradio-552b310e49d3584cb61aec18bd9db1f6abf4e3ac.tar.gz gnuradio-552b310e49d3584cb61aec18bd9db1f6abf4e3ac.tar.bz2 gnuradio-552b310e49d3584cb61aec18bd9db1f6abf4e3ac.zip |
core: fixed memory leak issue in arbitrary resampler blocks.
-rw-r--r-- | gnuradio-core/src/lib/filter/gr_pfb_arb_resampler_ccf.cc | 1 | ||||
-rw-r--r-- | gnuradio-core/src/lib/filter/gr_pfb_arb_resampler_fff.cc | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/gnuradio-core/src/lib/filter/gr_pfb_arb_resampler_ccf.cc b/gnuradio-core/src/lib/filter/gr_pfb_arb_resampler_ccf.cc index 06e98447e..ee09fef44 100644 --- a/gnuradio-core/src/lib/filter/gr_pfb_arb_resampler_ccf.cc +++ b/gnuradio-core/src/lib/filter/gr_pfb_arb_resampler_ccf.cc @@ -86,6 +86,7 @@ gr_pfb_arb_resampler_ccf::~gr_pfb_arb_resampler_ccf () { for(unsigned int i = 0; i < d_int_rate; i++) { delete d_filters[i]; + delete d_diff_filters[i]; } } diff --git a/gnuradio-core/src/lib/filter/gr_pfb_arb_resampler_fff.cc b/gnuradio-core/src/lib/filter/gr_pfb_arb_resampler_fff.cc index 9a9b86992..f01af2e6f 100644 --- a/gnuradio-core/src/lib/filter/gr_pfb_arb_resampler_fff.cc +++ b/gnuradio-core/src/lib/filter/gr_pfb_arb_resampler_fff.cc @@ -86,6 +86,7 @@ gr_pfb_arb_resampler_fff::~gr_pfb_arb_resampler_fff () { for(unsigned int i = 0; i < d_int_rate; i++) { delete d_filters[i]; + delete d_diff_filters[i]; } } |