don't segfault on cleanup if the startup failed
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@384 152afb58-edef-0310-8abb-c4023f1b3aa9svn/tags/lighttpd-1.3.14
parent
8281374f40
commit
01afa1ca5b
|
@ -327,6 +327,8 @@ FREE_FUNC(mod_accesslog_free) {
|
|||
|
||||
for (i = 0; i < srv->config_context->used; i++) {
|
||||
plugin_config *s = p->config_storage[i];
|
||||
|
||||
if (!s) continue;
|
||||
|
||||
if (s->access_logbuffer->used) {
|
||||
if (s->use_syslog) {
|
||||
|
|
Loading…
Reference in New Issue