http: possible NULL ptr on shutdown
This commit is contained in:
parent
eee6409733
commit
e5383315a3
1 changed files with 2 additions and 1 deletions
|
@ -859,5 +859,6 @@ http_server_done(void)
|
|||
free(hp);
|
||||
}
|
||||
pthread_mutex_unlock(&global_lock);
|
||||
tcp_server_delete(http_server);
|
||||
if (http_server)
|
||||
tcp_server_delete(http_server);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue