aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias P. Braendli (think) <matthias@mpb.li>2012-08-18 09:44:20 +0200
committerMatthias P. Braendli (think) <matthias@mpb.li>2012-08-18 09:44:20 +0200
commit881d2e8ae42f88df646ae7df4fd7d920e2515e4e (patch)
treeacfa03c34693794de73640240e0c38139f01a5b5 /src
parentac14a2480fd01cd558965c8d399b904137664c57 (diff)
downloaddabmod-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.cpp2
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" );