Merge "Handled the memory leak" into tizen accepted/tizen/unified/20180511.073930 submit/tizen/20180510.091306
authortaesub kim <taesub.kim@samsung.com>
Wed, 9 May 2018 23:56:50 +0000 (23:56 +0000)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>
Wed, 9 May 2018 23:56:50 +0000 (23:56 +0000)
1  2 
src/wifi_internal.c

index cda541b1b9bd58efa9f0f54d379227129e2ad8fb,637a70415131e785806a39caf161128ce32101ec..a1a07c269d088feb82273e7682744b12d4db7b57
@@@ -455,9 -454,9 +455,10 @@@ static void __update_netlink_scan_profi
  
                bss_profile_iterator = g_slist_append(bss_profile_iterator,
                                        (net_profile_info_s *)profile);
+               g_free(ap);
        }
  }
 +//LCOV_EXCL_STOP
  
  static void __convert_profile_info_to_wifi_info(net_wifi_connection_info_s *wifi_info,
                                                                net_profile_info_s *ap_info)