Skip to content

Commit 714ba94

Browse files
elettro1me-no-dev
authored andcommitted
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.
1 parent e57de64 commit 714ba94

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libraries/BLE/src/BLERemoteCharacteristic.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ BLERemoteCharacteristic::BLERemoteCharacteristic(
3939
m_charProp = charProp;
4040
m_pRemoteService = pRemoteService;
4141
m_notifyCallback = nullptr;
42+
m_rawData = nullptr;
4243

4344
retrieveDescriptors(); // Get the descriptors for this characteristic
4445
log_v("<< BLERemoteCharacteristic");

0 commit comments

Comments
 (0)