mirror of
https://github.com/h2zero/esp-nimble-cpp.git
synced 2025-07-30 02:17:13 +02:00
Fix memory leak when deleting client instance.
This commit is contained in:
@ -94,6 +94,8 @@ NimBLEClient::~NimBLEClient() {
|
|||||||
delete m_pClientCallbacks;
|
delete m_pClientCallbacks;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ble_npl_callout_deinit(&m_dcTimer);
|
||||||
|
|
||||||
} // ~NimBLEClient
|
} // ~NimBLEClient
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user