removed double free
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@547 152afb58-edef-0310-8abb-c4023f1b3aa9svn/tags/lighttpd-1.4.2
parent
66a8b67888
commit
c13fba88c1
|
@ -59,17 +59,6 @@ FREE_FUNC(mod_redirect_free) {
|
|||
|
||||
buffer_free(p->match_buf);
|
||||
buffer_free(p->location);
|
||||
|
||||
if (p->config_storage) {
|
||||
size_t i;
|
||||
for (i = 0; i < srv->config_context->used; i++) {
|
||||
plugin_config *s = p->config_storage[i];
|
||||
|
||||
pcre_keyvalue_buffer_free(s->redirect);
|
||||
free(s);
|
||||
}
|
||||
free(p->config_storage);
|
||||
}
|
||||
|
||||
free(p);
|
||||
|
||||
|
|
Loading…
Reference in New Issue