Skip to content
This repository was archived by the owner on May 23, 2023. It is now read-only.

Commit 3858eb0

Browse files
valgrind reported error: fixed uninitialised variables. (ARMmbed#1747)
1 parent 24ef520 commit 3858eb0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/6LoWPAN/Thread/thread_management_client.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,8 @@ void thread_management_client_init(int8_t interface_id)
146146

147147
if (this) {
148148
this->network_data_set_cb_ptr = NULL;
149+
this->router_id_release_cb_ptr = NULL;
150+
this->neighbor_discovery_cb_ptr = NULL;
149151
this->router_id_cb_ptr = NULL;
150152
this->interface_id = interface_id;
151153
this->coap_asd_msg_id = 0;

0 commit comments

Comments
 (0)