Initialize address list before returning error

master
Andres Amaya Garcia 2016-01-11 10:44:52 +00:00
parent 1e4d6f20fc
commit c1bc230bcf
1 changed files with 1 additions and 0 deletions

View File

@ -73,6 +73,7 @@ public:
ble_error_t error = createWhitelistFromBondTable(whitelistFromBondTable);
if (error != BLE_ERROR_NONE) {
addresses.size = 0;
return error;
}