From 82abd3e5ace20f2469162a8fbd90d80a01779c07 Mon Sep 17 00:00:00 2001 From: saerome kim Date: Wed, 10 Jul 2019 21:39:34 +0900 Subject: [PATCH] Fixed build error Change-Id: Ieecee53607c6bf3990f90255a145c8d8bf372eb5 Signed-off-by: saerome kim --- ua-daemon/src/ua-manager-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ua-daemon/src/ua-manager-core.c b/ua-daemon/src/ua-manager-core.c index 2bf0a61..e7f1a06 100644 --- a/ua-daemon/src/ua-manager-core.c +++ b/ua-daemon/src/ua-manager-core.c @@ -2256,7 +2256,7 @@ void _uam_core_handle_presence_detected(unsigned int sensor, if (is_updated) { if (!addr_info) { addr_info = g_new0(uam_db_address_info_t, 1); - g_slist_append(tech->addresses, addr_info); + tech->addresses = g_slist_append(tech->addresses, addr_info); } else { g_free(addr_info->address); } -- 2.7.4