]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
The parser leaked memory when printing the "references to zones not
authorBrian Wellington <source@isc.org>
Tue, 17 Oct 2000 22:21:34 +0000 (22:21 +0000)
committerBrian Wellington <source@isc.org>
Tue, 17 Oct 2000 22:21:34 +0000 (22:21 +0000)
implemented yet" warning.

lib/dns/config/confparser.y.dirty

index 4f36e987f480c67c02f7f1a8259908fc230173af..5bdcafa3e63ca83915555c1e118df51d98634b11 100644 (file)
@@ -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);
        }
        ;