mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-24 00:29:58 -05:00
Fixed memleak.
git-svn-id: file:///svn/unbound/trunk@37 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
901352f53f
commit
2f7c5d2694
2 changed files with 6 additions and 1 deletions
|
|
@ -116,8 +116,10 @@ main(int argc, char* argv[])
|
||||||
fatal_exit("could not create event handling base");
|
fatal_exit("could not create event handling base");
|
||||||
front = listen_create(base, 0, NULL, port, do_ip4, do_ip6,
|
front = listen_create(base, 0, NULL, port, do_ip4, do_ip6,
|
||||||
do_udp, do_tcp, BUFSZ);
|
do_udp, do_tcp, BUFSZ);
|
||||||
if(!front)
|
if(!front) {
|
||||||
|
comm_base_delete(base);
|
||||||
fatal_exit("could not create listening sockets");
|
fatal_exit("could not create listening sockets");
|
||||||
|
}
|
||||||
|
|
||||||
log_info("Start of %s.", PACKAGE_STRING);
|
log_info("Start of %s.", PACKAGE_STRING);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
26 January 2007: Wouter
|
||||||
|
- fixed memleak.
|
||||||
|
|
||||||
25 January 2007: Wouter
|
25 January 2007: Wouter
|
||||||
- fixed lint so it may work on BSD.
|
- fixed lint so it may work on BSD.
|
||||||
- put license into header of every file.
|
- put license into header of every file.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue