summaryrefslogtreecommitdiff
path: root/tests/gtest_dlt_daemon_offline_log.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gtest_dlt_daemon_offline_log.cpp')
-rw-r--r--tests/gtest_dlt_daemon_offline_log.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/gtest_dlt_daemon_offline_log.cpp b/tests/gtest_dlt_daemon_offline_log.cpp
index 80f7e53..f37c63a 100644
--- a/tests/gtest_dlt_daemon_offline_log.cpp
+++ b/tests/gtest_dlt_daemon_offline_log.cpp
@@ -512,6 +512,7 @@ TEST(t_dlt_logstorage_device_disconnected, normal)
DltLogStorage handle;
int reason = 0;
handle.config_status = 0;
+ handle.newest_file_list = NULL;
EXPECT_EQ(DLT_RETURN_OK, dlt_logstorage_device_disconnected(&handle, reason));
}