Browse Source

fixed small leak (config_path parameter)

personal/stbuehler/wip
Thomas Porzelt 14 years ago
parent
commit
5e1ebf3c05
  1. 2
      src/lighttpd.c

2
src/lighttpd.c

@ -79,6 +79,7 @@ int main(int argc, char *argv[]) {
g_atomic_int_set(&srv->exiting, TRUE);
log_thread_wakeup(srv);
server_free(srv);
g_free(config_path);
return 1;
}
@ -116,6 +117,7 @@ int main(int argc, char *argv[]) {
config_parser_finish(srv, ctx_stack, TRUE);
server_free(srv);
g_free(config_path);
return 0;
}

Loading…
Cancel
Save