fix mem leak in mod_dirlist

personal/stbuehler/wip
Thomas Porzelt 14 years ago
parent 8afe9aff3d
commit a874e682c7
  1. 1
      src/modules/mod_dirlist.c

@ -345,6 +345,7 @@ static handler_t dirlist(vrequest *vr, gpointer param, gpointer *context) {
g_string_append_printf(listing, html_footer, CORE_OPTION(CORE_OPTION_SERVER_TAG).string->str);
chunkqueue_append_string(vr->out, listing);
g_string_free(encoded, TRUE);
g_array_free(directories, TRUE);
g_array_free(files, TRUE);
}

Loading…
Cancel
Save