diff --git a/src/AutoPilotPlugins/PX4/Tests/FlightModeConfigTest.cc b/src/AutoPilotPlugins/PX4/Tests/FlightModeConfigTest.cc index c5ddb7093af3ef8dde9251becb94a54e4ed83a6d..0fc4b09dc41812ad44a58ec916662d17be6fc64d 100644 --- a/src/AutoPilotPlugins/PX4/Tests/FlightModeConfigTest.cc +++ b/src/AutoPilotPlugins/PX4/Tests/FlightModeConfigTest.cc @@ -140,6 +140,7 @@ void FlightModeConfigTest::cleanup(void) delete _mockUASManager; _mapChannelCombo2Param.clear(); + _mapChannelCombo2ButtonGroup.clear(); } /// @brief Returns channel mapping for the specified parameters