summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhyunuk.tak <hyunuk.tak@samsung.com>2021-12-14 09:16:45 +0900
committerhyunuk.tak <hyunuk.tak@samsung.com>2021-12-14 09:17:24 +0900
commit684d06b2240ed16ec2a43930c6d72e107db49a3f (patch)
tree135f8d2ddf1b20ee5daa859c912c979c8cec277f
parent858d647775963cb0be03e2c93a9ff1c76df316c7 (diff)
downloadua-plugin-wifi-dummy-tizen_8.0.tar.gz
ua-plugin-wifi-dummy-tizen_8.0.tar.bz2
ua-plugin-wifi-dummy-tizen_8.0.zip
Change-Id: I818653d3fadcb5980ef3967904bd0379de296a94 Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
-rw-r--r--src/wifi-plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wifi-plugin.c b/src/wifi-plugin.c
index 7a5377c..56cc557 100644
--- a/src/wifi-plugin.c
+++ b/src/wifi-plugin.c
@@ -354,7 +354,7 @@ static int add_device(uas_device_info_t *device)
wifi_info->new_device = true;
/* Add to list */
dev_list = g_slist_prepend(dev_list,
- g_memdup(wifi_info, sizeof(uas_wifi_info_t)));
+ g_memdup2(wifi_info, sizeof(uas_wifi_info_t)));
UA_WIFI_DBG("Added device to list, num devices = %d", g_slist_length(dev_list));
if (mac_len && ip_len &&