mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 18:08:30 -04:00
DataFlash: fixed double Init of DF object
thanks to Michael De Breuil
This commit is contained in:
parent
763c671d0a
commit
b0a90df135
@ -107,6 +107,7 @@ void DataFlash_File::Init(const struct LogStructure *structure, uint8_t num_type
|
||||
}
|
||||
if (_writebuf != NULL) {
|
||||
free(_writebuf);
|
||||
_writebuf = NULL;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user