From d9eab580a827cd358d688aaf3fccce40ab7908ae Mon Sep 17 00:00:00 2001 From: Mikhael Skvortsov Date: Fri, 3 May 2024 23:59:01 +0300 Subject: [PATCH] Fix memory leak on frame_sync_impl destruction --- lib/frame_sync_impl.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/frame_sync_impl.cc b/lib/frame_sync_impl.cc index a9b1c8c6..289a3eda 100644 --- a/lib/frame_sync_impl.cc +++ b/lib/frame_sync_impl.cc @@ -107,6 +107,8 @@ namespace gr */ frame_sync_impl::~frame_sync_impl() { + delete[] cx_out; + delete[] cx_in; kiss_fft_free(m_kiss_fft_cfg); } int frame_sync_impl::my_roundf(float number)