[client] ds: validate the ds before attempting to use it

This commit is contained in:
Geoffrey McRae committed 2021-02-21 10:31:48 +11:00
1 parent f8ac860fde
commit 2d1e3c8022
2 files changed
+23

No files matched your search

+1
View File
@@ -633,6 +633,7 @@ static int lg_run(void)
}
assert(g_state.ds);
assert(IS_LG_DS_VALID(g_state.ds));
// init the subsystem
if (!g_state.ds->earlyInit())