Fix memory leak when deleting client instance.

This commit is contained in:
h2zero committed 2022-02-15 20:31:26 -07:00
1 parent 288ee92d39
commit 6cda761f13
1 file changed
+2
+2
View File
@@ -94,6 +94,8 @@ NimBLEClient::~NimBLEClient() {
delete m_pClientCallbacks;
}
ble_npl_callout_deinit(&m_dcTimer);
} // ~NimBLEClient