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) {