qcacmn: Fix memory leak in case of pdev attach failure
The cleanup done in case of pdev attach failure does not deinitialize the IPA tx and rx buffers. Also the tx descriptors are not freed in this cleanup path. Due to this, the tx descriptors and IPA tx/rx buffers memory is neither freed not unmapped. Fix this pdev attach failure cleanup path to avoid memory leaks. Change-Id: I570e3618f0f48f56749466fce5bcba5a4ef1c161 CRs-Fixed: 2663036
Loading
Please register or sign in to comment