mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 12:02:04 -04:00
The parser leaked memory when printing the "references to zones not
implemented yet" warning.
This commit is contained in:
parent
78db9e8f4b
commit
b43af69134
1 changed files with 2 additions and 1 deletions
|
|
@ -17,7 +17,7 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: confparser.y.dirty,v 1.20 2000/10/12 00:38:27 bwelling Exp $ */
|
||||
/* $Id: confparser.y.dirty,v 1.21 2000/10/17 22:21:34 bwelling Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -4648,6 +4648,7 @@ zone_stmt: L_ZONE domain_name optional_class L_LBRACE L_TYPE zone_type L_EOS
|
|||
{
|
||||
parser_warning(ISC_FALSE,
|
||||
"references to zones not implemented yet");
|
||||
isc_mem_free(memctx, $2);
|
||||
}
|
||||
;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue