Fixed memleak.

git-svn-id: file:///svn/unbound/trunk@37 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2007-01-26 07:55:16 +00:00
parent 901352f53f
commit 2f7c5d2694
2 changed files with 6 additions and 1 deletions

View file

@ -116,8 +116,10 @@ main(int argc, char* argv[])
fatal_exit("could not create event handling base");
front = listen_create(base, 0, NULL, port, do_ip4, do_ip6,
do_udp, do_tcp, BUFSZ);
if(!front)
if(!front) {
comm_base_delete(base);
fatal_exit("could not create listening sockets");
}
log_info("Start of %s.", PACKAGE_STRING);

View file

@ -1,3 +1,6 @@
26 January 2007: Wouter
- fixed memleak.
25 January 2007: Wouter
- fixed lint so it may work on BSD.
- put license into header of every file.