diff --git a/src/modules/ekf2/EKF/estimator_interface.cpp b/src/modules/ekf2/EKF/estimator_interface.cpp index 2a9404e0352..1d86c6c1a50 100644 --- a/src/modules/ekf2/EKF/estimator_interface.cpp +++ b/src/modules/ekf2/EKF/estimator_interface.cpp @@ -76,6 +76,8 @@ EstimatorInterface::~EstimatorInterface() #if defined(CONFIG_EKF2_RANGING_BEACON) delete _ranging_beacon_buffer; #endif // CONFIG_EKF2_RANGING_BEACON + + delete _system_flag_buffer; } // Accumulate imu data and store to buffer at desired rate