fix logger: use free() instead of 'delete[]' for _buffer

The allocation got changed to px4_cache_aligned_alloc
This commit is contained in:
Beat Küng 2021-05-11 14:40:32 +02:00 committed by Julian Oes
parent 05a2d4d5a9
commit e77b4418a5
1 changed files with 1 additions and 1 deletions

View File

@ -401,7 +401,7 @@ LogWriterFile::LogFileBuffer::~LogFileBuffer()
close(_fd);
}
delete[] _buffer;
free(_buffer);
perf_free(_perf_write);
perf_free(_perf_fsync);