[client] ds: validate the ds before attempting to use it
This commit is contained in:
1 parent
f8ac860fde
commit
2d1e3c8022
2 files changed
+23
No files matched your search
@@ -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())
|
||||
|
||||
Reference in new issue
Block a user