mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- remove memory leak from lame-check patch.
git-svn-id: file:///svn/unbound/trunk@3726 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
7fcec8102f
commit
58a1b9928c
3 changed files with 6 additions and 3 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
24 May 2016: Wouter
|
24 May 2016: Wouter
|
||||||
- disable-dnssec-lame-check config option from Charles Walker.
|
- disable-dnssec-lame-check config option from Charles Walker.
|
||||||
|
- remove memory leak from lame-check patch.
|
||||||
|
|
||||||
23 May 2016: Wouter
|
23 May 2016: Wouter
|
||||||
- Fix #767: Reference to an expired Internet-Draft in
|
- Fix #767: Reference to an expired Internet-Draft in
|
||||||
|
|
|
||||||
|
|
@ -4008,12 +4008,13 @@ yyreduce:
|
||||||
yyerror("expected yes or no.");
|
yyerror("expected yes or no.");
|
||||||
else cfg_parser->cfg->disable_dnssec_lame_check =
|
else cfg_parser->cfg->disable_dnssec_lame_check =
|
||||||
(strcmp((yyvsp[0].str), "yes")==0);
|
(strcmp((yyvsp[0].str), "yes")==0);
|
||||||
|
free((yyvsp[0].str));
|
||||||
}
|
}
|
||||||
#line 4013 "util/configparser.c" /* yacc.c:1646 */
|
#line 4014 "util/configparser.c" /* yacc.c:1646 */
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
||||||
#line 4017 "util/configparser.c" /* yacc.c:1646 */
|
#line 4018 "util/configparser.c" /* yacc.c:1646 */
|
||||||
default: break;
|
default: break;
|
||||||
}
|
}
|
||||||
/* User semantic actions sometimes alter yychar, and that requires
|
/* User semantic actions sometimes alter yychar, and that requires
|
||||||
|
|
@ -4241,7 +4242,7 @@ yyreturn:
|
||||||
#endif
|
#endif
|
||||||
return yyresult;
|
return yyresult;
|
||||||
}
|
}
|
||||||
#line 1700 "./util/configparser.y" /* yacc.c:1906 */
|
#line 1701 "./util/configparser.y" /* yacc.c:1906 */
|
||||||
|
|
||||||
|
|
||||||
/* parse helper routines could be here */
|
/* parse helper routines could be here */
|
||||||
|
|
|
||||||
|
|
@ -1696,6 +1696,7 @@ server_disable_dnssec_lame_check: VAR_DISABLE_DNSSEC_LAME_CHECK STRING_ARG
|
||||||
yyerror("expected yes or no.");
|
yyerror("expected yes or no.");
|
||||||
else cfg_parser->cfg->disable_dnssec_lame_check =
|
else cfg_parser->cfg->disable_dnssec_lame_check =
|
||||||
(strcmp($2, "yes")==0);
|
(strcmp($2, "yes")==0);
|
||||||
|
free($2);
|
||||||
}
|
}
|
||||||
%%
|
%%
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue