mirror of
https://github.com/h2zero/esp-nimble-cpp.git
synced 2024-11-23 13:40:55 +01:00
Fix memory leak when deleting client instance.
This commit is contained in:
parent
11e705f487
commit
7b93b0f763
1 changed files with 2 additions and 0 deletions
|
@ -94,6 +94,8 @@ NimBLEClient::~NimBLEClient() {
|
|||
delete m_pClientCallbacks;
|
||||
}
|
||||
|
||||
ble_npl_callout_deinit(&m_dcTimer);
|
||||
|
||||
} // ~NimBLEClient
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue