Merge pull request #11831 from AGlass0fMilk/fix-ble-sm-sec-db

BLE: Added call to delete the security database object upon SM reset.
pull/11836/head
Martin Kojtal 2019-11-07 11:54:45 +01:00 committed by GitHub
commit 9d4bd44fd7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -137,6 +137,7 @@ ble_error_t GenericSecurityManager<TPalSecurityManager, SigningMonitor>::setData
template<template<class> class TPalSecurityManager, template<class> class SigningMonitor>
ble_error_t GenericSecurityManager<TPalSecurityManager, SigningMonitor>::reset_(void) {
delete _db;
_pal.reset();
SecurityManager::reset_();