Commit e04f693a authored by Hu Wang's avatar Hu Wang Committed by Gerrit - the friendly Code Review server
Browse files

wifihal: fix memory leak in radio_mode module

Radio mode command instance is created when wifihal initialized, but
not deleted when wifihal exit, which causes memory leak.

Fixing this by holding ptr of radio mode instance when initialize,
and delete it when wifihal exit.

CRs-Fixed: 2733746
Change-Id: I06e5ef830dcf4980f527af531d31cd9de5343158
parent 90a37360
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment