AP_HAL_Linux: fix deallocation

This commit is contained in:
mirkix 2018-01-24 20:53:40 +01:00 committed by Andrew Tridgell
parent cc2571569d
commit bf758098d7

View File

@ -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()