mirror of
https://github.com/h2zero/esp-nimble-cpp.git
synced 2024-11-22 13:10:55 +01:00
Fix memory leak when deleting client instance.
This commit is contained in:
parent
288ee92d39
commit
6cda761f13
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