From 881d2e8ae42f88df646ae7df4fd7d920e2515e4e Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli (think)" Date: Sat, 18 Aug 2012 09:44:20 +0200 Subject: crc-dabmod: FIRFilter: solved double free() issue --- src/FIRFilter.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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" ); -- cgit v1.2.3