Commit b43af691 authored by Brian Wellington's avatar Brian Wellington
Browse files

The parser leaked memory when printing the "references to zones not

implemented yet" warning.
parent 78db9e8f
......@@ -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);
}
;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment