9323e8559bfe7f2cfe2f1a649361d777ce4f05d0

If wma_send_msg with msg_type WMA_SET_LINK_STATE_RSP, tpLinkStateParams params has a member callbackArg which is malloc from heap. If this message is flushed when driver unload, because no msg.flush_callback is supplied, the flush just free msg->bodyptr and callbackArg got leak. Fix it by supply a flush_callback as wma_discard_fw_event, and minor change to avoid NULL pointer access. Change-Id: Ie979a1e83cbd7c87e5bbb08382ae2af3230a13db CRs-Fixed: 2181458
This is CNSS WLAN Host Driver for products starting from iHelium
Omschrijving
Languages
C
98.7%
C++
0.9%
Makefile
0.3%
Starlark
0.1%