fixed crash in SIGINT handling
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@694 152afb58-edef-0310-8abb-c4023f1b3aa9
This commit is contained in:
parent
d00bb524f7
commit
4b63eae57d
|
@ -209,7 +209,6 @@ static void server_free(server *srv) {
|
|||
#endif
|
||||
fdevent_free(srv->ev);
|
||||
|
||||
connections_free(srv);
|
||||
free(srv->conns);
|
||||
|
||||
if (srv->config_storage) {
|
||||
|
@ -1133,6 +1132,7 @@ int main (int argc, char **argv) {
|
|||
/* clean-up */
|
||||
log_error_close(srv);
|
||||
network_close(srv);
|
||||
connections_free(srv);
|
||||
plugins_free(srv);
|
||||
server_free(srv);
|
||||
|
||||
|
|
Loading…
Reference in New Issue