Initialize address list before returning error

This commit is contained in:
Andres Amaya Garcia 2016-01-11 10:44:52 +00:00
parent 1e4d6f20fc
commit c1bc230bcf

View file

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