Always initialize module_list

Close #5712
This commit is contained in:
topjohnwu
2022-05-06 01:40:19 -07:00
parent cffd024e9e
commit 90545057e9
2 changed files with 25 additions and 27 deletions
+1
View File
@@ -391,6 +391,7 @@ static void daemon_entry() {
default_new(poll_map);
default_new(poll_fds);
default_new(module_list);
// Register handler for main socket
pollfd main_socket_pfd = { fd, POLLIN, 0 };