summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchleun.moon <chleun.moon@samsung.com>2018-03-28 10:25:05 +0900
committerCheoleun Moon <chleun.moon@samsung.com>2019-01-04 12:49:37 +0900
commitbd8d0f898719a1552330d2e672c1b30ffdeac8cf (patch)
tree7d1c8b8002c77d7c5e66ef6af7711377f4d5f9ed
parentbda581d645e835fc16c028625f921a2fd47cb393 (diff)
downloadwifi-accepted/tizen_4.0_unified.tar.gz
wifi-accepted/tizen_4.0_unified.tar.bz2
wifi-accepted/tizen_4.0_unified.zip
Change-Id: Ib398535c43124d1cf88fc2e8b875009bbc3702c5 Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
-rw-r--r--sources/wearable/src/net/emulator.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sources/wearable/src/net/emulator.c b/sources/wearable/src/net/emulator.c
index 1bb2695..5f7e78c 100644
--- a/sources/wearable/src/net/emulator.c
+++ b/sources/wearable/src/net/emulator.c
@@ -302,16 +302,11 @@ int _wifi_manager_ap_set_eap_type(wifi_manager_ap_h ap, wifi_manager_eap_type_e
int _wifi_manager_initialize(wifi_manager_h *wifi)
{
- *wifi = (wifi_manager_h *)g_try_malloc0(sizeof(wifi_manager_h));
- if (!(*wifi))
- return WIFI_MANAGER_ERROR_OUT_OF_MEMORY;
-
return WIFI_MANAGER_ERROR_NONE;
}
int _wifi_manager_deinitialize(wifi_manager_h wifi)
{
- g_free(wifi);
return WIFI_MANAGER_ERROR_NONE;
}