Commit 714ba948 authored by elettro1's avatar elettro1 Committed by Me No Dev

Update BLERemoteCharacteristic.cpp (#2800)

Prevents the error that is generated on free on row 186
When calling the function readValue() sometimes it gave an error on this free.
parent e57de64a
......@@ -39,6 +39,7 @@ BLERemoteCharacteristic::BLERemoteCharacteristic(
m_charProp = charProp;
m_pRemoteService = pRemoteService;
m_notifyCallback = nullptr;
m_rawData = nullptr;
retrieveDescriptors(); // Get the descriptors for this characteristic
log_v("<< BLERemoteCharacteristic");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment