diff options
author | hyunuk.tak <hyunuk.tak@samsung.com> | 2021-12-14 09:16:45 +0900 |
---|---|---|
committer | hyunuk.tak <hyunuk.tak@samsung.com> | 2021-12-14 09:17:24 +0900 |
commit | 684d06b2240ed16ec2a43930c6d72e107db49a3f (patch) | |
tree | 135f8d2ddf1b20ee5daa859c912c979c8cec277f | |
parent | 858d647775963cb0be03e2c93a9ff1c76df316c7 (diff) | |
download | ua-plugin-wifi-dummy-accepted/tizen_9.0_unified.tar.gz ua-plugin-wifi-dummy-accepted/tizen_9.0_unified.tar.bz2 ua-plugin-wifi-dummy-accepted/tizen_9.0_unified.zip |
Replace g_memdup to g_memdup2tizen_9.0_m2_releasetizen_8.0_m2_releasetizen_7.0_m2_releasesubmit/tizen/20211212.233427accepted/tizen/unified/20211222.230654accepted/tizen/9.0/unified/20241030.232216accepted/tizen/8.0/unified/20231005.093252accepted/tizen/7.0/unified/hotfix/20221116.105230accepted/tizen/7.0/unified/20221110.060454tizen_9.0tizen_8.0tizen_7.0_hotfixtizen_7.0tizenaccepted/tizen_unifiedaccepted/tizen_9.0_unifiedaccepted/tizen_8.0_unifiedaccepted/tizen_7.0_unified_hotfixaccepted/tizen_7.0_unified
Change-Id: I818653d3fadcb5980ef3967904bd0379de296a94
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
-rw-r--r-- | src/wifi-plugin.c | 2 |
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 && |