Browse Source

closed memleaks at shutdown

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@636 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.2
Jan Kneschke 17 years ago
parent
commit
a3e25bf8ed
  1. 11
      src/mod_webdav.c

11
src/mod_webdav.c

@ -108,6 +108,7 @@ FREE_FUNC(mod_webdav_free) {
if (!s) continue;
buffer_free(s->sqlite_db_name);
#ifdef USE_PROPPATCH
if (s->sql) {
sqlite3_finalize(s->stmt_delete_prop);
@ -124,6 +125,16 @@ FREE_FUNC(mod_webdav_free) {
}
free(p->config_storage);
}
buffer_free(p->uri.scheme);
buffer_free(p->uri.path_raw);
buffer_free(p->uri.path);
buffer_free(p->uri.authority);
buffer_free(p->physical.path);
buffer_free(p->physical.rel_path);
buffer_free(p->physical.doc_root);
buffer_free(p->physical.basedir);
buffer_free(p->tmp_buf);

Loading…
Cancel
Save