Browse Source

AP_HAL_Linux: fix deallocation

master
mirkix 7 years ago committed by Andrew Tridgell
parent
commit
bf758098d7
  1. 4
      libraries/AP_HAL_Linux/RCOutput_AeroIO.cpp

4
libraries/AP_HAL_Linux/RCOutput_AeroIO.cpp

@ -101,8 +101,8 @@ RCOutput_AeroIO::RCOutput_AeroIO() @@ -101,8 +101,8 @@ RCOutput_AeroIO::RCOutput_AeroIO()
RCOutput_AeroIO::~RCOutput_AeroIO()
{
delete _freq_buffer;
delete _duty_buffer;
delete[] _freq_buffer;
delete[] _duty_buffer;
}
void RCOutput_AeroIO::init()

Loading…
Cancel
Save