5
0
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:
Andrew Tridgell 2015-05-15 16:33:10 +10:00
parent 763c671d0a
commit b0a90df135

View File

@ -107,6 +107,7 @@ void DataFlash_File::Init(const struct LogStructure *structure, uint8_t num_type
}
if (_writebuf != NULL) {
free(_writebuf);
_writebuf = NULL;
}
/*