mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Fix memory leak in dnscrypt config read.
git-svn-id: file:///svn/unbound/trunk@4231 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
df78cb7ccb
commit
dff6c5ff7a
2 changed files with 2 additions and 0 deletions
|
|
@ -2,6 +2,7 @@
|
||||||
- Fix #1301: memory leak in respip and tests.
|
- Fix #1301: memory leak in respip and tests.
|
||||||
- Free callback in edns-subnetmod on exit and restart.
|
- Free callback in edns-subnetmod on exit and restart.
|
||||||
- Fix memory leak in sldns_buffer_new_frm_data.
|
- Fix memory leak in sldns_buffer_new_frm_data.
|
||||||
|
- Fix memory leak in dnscrypt config read.
|
||||||
|
|
||||||
15 June 2017: Wouter
|
15 June 2017: Wouter
|
||||||
- Fix stub zone queries leaking to the internet for
|
- Fix stub zone queries leaking to the internet for
|
||||||
|
|
|
||||||
|
|
@ -2329,6 +2329,7 @@ dnsc_dnscrypt_enable: VAR_DNSCRYPT_ENABLE STRING_ARG
|
||||||
if(strcmp($2, "yes") != 0 && strcmp($2, "no") != 0)
|
if(strcmp($2, "yes") != 0 && strcmp($2, "no") != 0)
|
||||||
yyerror("expected yes or no.");
|
yyerror("expected yes or no.");
|
||||||
else cfg_parser->cfg->dnscrypt = (strcmp($2, "yes")==0);
|
else cfg_parser->cfg->dnscrypt = (strcmp($2, "yes")==0);
|
||||||
|
free($2);
|
||||||
}
|
}
|
||||||
;
|
;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue