only cleanup conditional contextes which are already setup

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@725 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.6
Jan Kneschke 2005-09-21 17:14:00 +00:00
parent eacec21ab5
commit 6fa5bb1138
1 changed files with 2 additions and 0 deletions

View File

@ -53,6 +53,8 @@ FREE_FUNC(mod_indexfile_free) {
size_t i;
for (i = 0; i < srv->config_context->used; i++) {
plugin_config *s = p->config_storage[i];
if (!s) continue;
array_free(s->indexfiles);