Skip to content

Commit

Permalink
Merge branch 'release_internal' into release_external
Browse files Browse the repository at this point in the history
* release_internal:
  Fixed possible memory leak at mac pd_sap_ind() function.
  • Loading branch information
Arto Kinnunen committed Aug 14, 2018
2 parents 7963594 + 6bc9e00 commit 2535a6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/MAC/IEEE802_15_4/mac_pd_sap.c
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ int8_t mac_pd_sap_data_cb(void *identifier, arm_phy_sap_msg_t *message)
}
//Do not accept commend frame with length 0
if (fcf_read.frametype == FC_CMD_FRAME && length == 0) {
return -1;
goto ERROR_HANDLER;
}

//Parse IE Elements
Expand Down

0 comments on commit 2535a6c

Please sign in to comment.