- Fix for memory leak when edns subnet config options are read when

compiled without edns subnet support.
This commit is contained in:
W.C.A. Wijngaards 2020-01-14 15:48:27 +01:00
parent 2c4be0c201
commit ea26e5038e
3 changed files with 544 additions and 538 deletions

View file

@ -5,6 +5,8 @@
the appropriate keys to recreate that setup.
- Fix crash after reload where a stats lookup could reference old key
cache and neg cache structures.
- Fix for memory leak when edns subnet config options are read when
compiled without edns subnet support.
10 January 2020: Wouter
- Fix the relationship between serve-expired and prefetch options,

File diff suppressed because it is too large Load diff

View file

@ -429,6 +429,7 @@ server_send_client_subnet: VAR_SEND_CLIENT_SUBNET STRING_ARG
fatal_exit("out of memory adding client-subnet");
#else
OUTYY(("P(Compiled without edns subnet option, ignoring)\n"));
free($2);
#endif
}
;
@ -441,6 +442,7 @@ server_client_subnet_zone: VAR_CLIENT_SUBNET_ZONE STRING_ARG
fatal_exit("out of memory adding client-subnet-zone");
#else
OUTYY(("P(Compiled without edns subnet option, ignoring)\n"));
free($2);
#endif
}
;