From 6fa5bb1138db6b1c43351a05a94a770d9410e642 Mon Sep 17 00:00:00 2001 From: Jan Kneschke Date: Wed, 21 Sep 2005 17:14:00 +0000 Subject: [PATCH] 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 --- src/mod_indexfile.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mod_indexfile.c b/src/mod_indexfile.c index 3a77f27b..b5332edf 100644 --- a/src/mod_indexfile.c +++ b/src/mod_indexfile.c @@ -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);