+wfi-direct-manager (0.6.9) precise; urgency=low
+
+ * to fix PLM issue and prevent defect(private code sync)
+ * Git : framework/connectivity/wifi-direct-manager
+ * Tag : wifi-direct-manager_0.6.9
+
+ -- Gibyoung Kim <lastkgb.kim@samsung.com> Tue, 05 Mar 2013 21:46:11 +0900
+
wfi-direct-manager (0.6.8) precise; urgency=low
* Remove prevent issue : Resource leak, Uninitialized pointer read
// close control interface
g_source_remove(g_source_id);
unlink("/tmp/wpa_ctrl_monitor");
- if (g_monitor_sockfd >= 0)
+ if (g_monitor_sockfd > 2)
close(g_monitor_sockfd);
// terminate wpasupplicant
memset(res_buffer, 0x0, 1024);
unlink("/tmp/wpa_ctrl_control");
- if (g_control_sockfd >= 0)
+ if (g_control_sockfd > 2)
close(g_control_sockfd);
wfd_ws_glist_reset_connected_peer();
if(ioctl(fd, SIOCGIFADDR, &IfRequest) < 0) {
WDP_LOGE( "Failed to get IP\n");
- close(fd);
+ if (fd > 2)
+ close(fd);
return false;
}