Skip to content

Commit 7e45d92

Browse files
authored
Merge pull request #84 from PelionIoT/release-4.9.1
mbed-cloud-client 4.9.1
2 parents 64904a1 + 41262f9 commit 7e45d92

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
## Changelog for Pelion Device Management Client
22

3+
### Release 4.9.1 (17.06.2021)
4+
5+
### Device Management Client
6+
- Fixed the incorrect overriding of CoAP retransmission buffer size.
7+
8+
### Platform Adaptation Layer (PAL)
9+
- [Zephyr] Fixed a memory leak on DNs handling.
10+
311
### Release 4.9.0 (20.05.2021)
412

513
### Device Management Client

mbed-client-pal/Source/Port/Reference-Impl/OS_Specific/ZephyrOS/Networking/pal_plat_network.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,9 @@ palStatus_t pal_plat_getAddressInfo(const char* hostname, palSocketAddress_t* ad
704704
assert(0);
705705
}
706706

707+
/* release allocated resources */
708+
freeaddrinfo(info);
709+
707710
} else {
708711

709712
result = PAL_ERR_SOCKET_DNS_ERROR;

mbed-client/source/m2mnsdlinterface.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888

8989
#define REGISTRATION_UPDATE_DELAY 10 // wait 10ms before sending registration update for PUT to resource 1/0/1
9090

91-
const char *MCC_VERSION = "mccv=4.9.0";
91+
const char *MCC_VERSION = "mccv=4.9.1";
9292

9393
int8_t M2MNsdlInterface::_tasklet_id = -1;
9494

@@ -318,8 +318,6 @@ bool M2MNsdlInterface::initialize()
318318
MBED_CLIENT_RECONNECTION_COUNT,
319319
_network_rtt_estimate);
320320

321-
sn_nsdl_set_retransmission_buffer(_nsdl_handle, MBED_CLIENT_SN_COAP_RESENDING_QUEUE_SIZE_MSGS, 0);
322-
323321
sn_nsdl_handle_block2_response_internally(_nsdl_handle, false);
324322

325323
// Allocate the memory for endpoint

0 commit comments

Comments
 (0)