Commit 58de5a7e authored by topjohnwu's avatar topjohnwu

Prevent a slight chance to crash

parent 504a9b47
...@@ -768,6 +768,7 @@ void late_start(int client) { ...@@ -768,6 +768,7 @@ void late_start(int client) {
// All boot stage done, cleanup everything // All boot stage done, cleanup everything
free(buf); free(buf);
free(buf2); free(buf2);
buf = buf2 = NULL;
vec_deep_destroy(&module_list); vec_deep_destroy(&module_list);
#ifdef DEBUG #ifdef DEBUG
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment