030ffadb08773008a031f836f36393fdc6bd4774

In srng setup, we set srng alloc size, and allocate memory for srng buffers. Even if allocation fails, srng alloc size is set, which is done even before the allocation is attempted. In srng clean up path, we attempt to free the memory, since srng alloc size is set, but for which allocation had failed, Instead, when freeing srng buffers, check if we have a valid address also for srng buffer and then free, instead of checking srng alloc size only. Change-Id: I1f2de526e27b7b8d97535bf4c2235c82ffd3ce5f CRs-Fixed: 2452219
This is CNSS WLAN Host Driver for products starting from iHelium
描述
儲存庫語言
C
98.7%
C++
0.9%
Makefile
0.3%
Starlark
0.1%