diff --git a/src/demod/DemodulatorThread.cpp b/src/demod/DemodulatorThread.cpp index 9f5b257..7a2d027 100644 --- a/src/demod/DemodulatorThread.cpp +++ b/src/demod/DemodulatorThread.cpp @@ -62,6 +62,8 @@ void DemodulatorThread::threadMain() { firStereoLeft = firfilt_rrrf_create(h, h_len); firStereoRight = firfilt_rrrf_create(h, h_len); + delete h; + liquid_float_complex x, y; firhilbf firStereoR2C = firhilbf_create(5, 60.0f); @@ -86,6 +88,8 @@ void DemodulatorThread::threadMain() { firfilt_crcf firSSB = firfilt_crcf_create(ssb_h, h_len); + delete ssb_h; + // Automatic IQ gain iqAutoGain = agc_crcf_create(); agc_crcf_set_bandwidth(iqAutoGain, 0.9);