qcacld-3.0: RRM caller and callee needs to release bss descr memory
In RRM module, caller is creating memory for beacon report. for
each beacon report, it further creates memory for bss descriptors.
caller sends a entire becon report message to callee. Both caller and
callee are releasing memory for beacon report but they don't release
memory for bss descriptos correctly.
To fix the situation, caller needs to release bss descriptos memory up
on failure to deliver the message to callee. callee needs to release
bss descriptors' memory up on successful reception and after processing
it.
CRs-Fixed: 2040435
Change-Id: Ia4e0a1cdc56c177e86683847973acfab0e9a96bf
2 files changed