Prevent a slight chance to crash

This commit is contained in:
topjohnwu 2017-07-11 01:53:45 +08:00
parent 504a9b4746
commit 58de5a7ec7

View File

@ -768,6 +768,7 @@ void late_start(int client) {
// All boot stage done, cleanup everything
free(buf);
free(buf2);
buf = buf2 = NULL;
vec_deep_destroy(&module_list);
#ifdef DEBUG