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>
diff --git a/wpa_supplicant/p2p_supplicant.c b/wpa_supplicant/p2p_supplicant.c
index 9262e5e..db99177 100644
--- a/wpa_supplicant/p2p_supplicant.c
+++ b/wpa_supplicant/p2p_supplicant.c
@@ -2666,6 +2666,7 @@
 				     wfd_dev_info_len, wfd_r2_dev_info,
 				     wfd_r2_dev_info_len, new_device);
 	os_free(wfd_dev_info);
+	os_free(wfd_r2_dev_info);
 }