diff --git a/source/nRF5xSecurityManager.h b/source/nRF5xSecurityManager.h index 922b113..2fa7b05 100644 --- a/source/nRF5xSecurityManager.h +++ b/source/nRF5xSecurityManager.h @@ -73,6 +73,7 @@ public: ble_error_t error = createWhitelistFromBondTable(whitelistFromBondTable); if (error != BLE_ERROR_NONE) { + addresses.size = 0; return error; }