summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/user-awareness-event-handler.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/user-awareness-event-handler.c b/src/user-awareness-event-handler.c
index 62c0fa7..6911463 100644
--- a/src/user-awareness-event-handler.c
+++ b/src/user-awareness-event-handler.c
@@ -310,10 +310,16 @@ int ua_deinitialize(void)
retv_if(TRUE != is_initialized, UA_ERROR_NOT_INITIALIZED);
g_slist_free_full(ua_services_list, _ua_free_ua_service_info_s);
+ ua_services_list = NULL;
+
g_slist_free_full(ua_monitor_list, _ua_free_ua_monitor_t);
+ ua_monitor_list = NULL;
+
g_slist_free_full(ua_users_list, _ua_free_ua_user_info_t);
- g_slist_free_full(ua_devices_db_list, _ua_free_ua_device_info_t);
+ ua_users_list = NULL;
+ g_slist_free_full(ua_devices_db_list, _ua_free_ua_device_info_t);
+ ua_devices_db_list = NULL;
ret = _ua_get_error_code(_uam_deinit());
if (UA_ERROR_NONE != ret) {