Skip to content
Snippets Groups Projects
Commit 20c56354 authored by Amarnath Hullur Subramanyam's avatar Amarnath Hullur Subramanyam Committed by Vineeta Srivastava
Browse files

qcacld-2.0: Avoid calling memory allocation function for allocation size 0


Currently we are calling memory allocation function to allocate memory for
FT ies even though FT ies length is 0.
Due to above behavior we are seeing unnecessary memory allocation failure
error prints.
Change made to check for FT ies length before calling memory allocation
function.

CRs-Fixed: 930118
Git-commit: cd157c68d9ae84783420cbf0edb370099d888b65
Bug: 25146782
Signed-off-by: default avatarAmarnath Hullur Subramanyam <amarnath@codeaurora.org>
parent 4662053b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment