diff options
author | Matthias P. Braendli (think) <matthias@mpb.li> | 2012-08-18 09:44:20 +0200 |
---|---|---|
committer | Matthias P. Braendli (think) <matthias@mpb.li> | 2012-08-18 09:44:20 +0200 |
commit | 881d2e8ae42f88df646ae7df4fd7d920e2515e4e (patch) | |
tree | acfa03c34693794de73640240e0c38139f01a5b5 /src | |
parent | ac14a2480fd01cd558965c8d399b904137664c57 (diff) | |
download | dabmod-881d2e8ae42f88df646ae7df4fd7d920e2515e4e.tar.gz dabmod-881d2e8ae42f88df646ae7df4fd7d920e2515e4e.tar.bz2 dabmod-881d2e8ae42f88df646ae7df4fd7d920e2515e4e.zip |
crc-dabmod: FIRFilter: solved double free() issue
Diffstat (limited to 'src')
-rw-r--r-- | src/FIRFilter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/FIRFilter.cpp b/src/FIRFilter.cpp index c6a2350..13f623c 100644 --- a/src/FIRFilter.cpp +++ b/src/FIRFilter.cpp @@ -247,6 +247,8 @@ FIRFilter::FIRFilter(std::string taps_file) : number_of_runs = 0; + firwd.taps = new float[0]; + load_filter_taps(); PDEBUG("FIRFilter: Starting worker\n" ); |