commit | a96a5e8446860fa55d7c359cf55395fab0906276 | [log] [tgz] |
---|---|---|
author | jiangpingping <jiangpingping@xiaomi.com> | Thu Nov 16 15:02:17 2023 +0800 |
committer | Sunil Ravi <sunilravi@google.com> | Tue Nov 21 23:29:20 2023 +0000 |
tree | 1bd74ba84ba4fab74b43d96d5184e469bb7a2af7 | |
parent | 8bae4256a8a04bbaf9b11e71f7facb724736ee36 [diff] |
free wfd_r2_dev_info to avoid memmory leak Bug: 312033374 Allocated memory for wfd_r2_dev_info when the p2p device was found. But not freed the memory after notifying the R2 information. This causes memory leak. Fixed the issue by freeing the memmory for wfd_r2_dev_info after usage. Bug: 312033374 Test: Wi-Fi Direct Scan and connection via WiFi-Direct settings window Change-Id: I70d72c4d76e3ee5f23849de6de7acc9282a30f26 Signed-off-by: jiangpingping <jiangpingping@xiaomi.com>