]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
reorder
authorMark Andrews <marka@isc.org>
Sat, 2 Dec 2000 00:57:43 +0000 (00:57 +0000)
committerMark Andrews <marka@isc.org>
Sat, 2 Dec 2000 00:57:43 +0000 (00:57 +0000)
lib/dns/config/confparser.y.dirty

index 6945fd3d6da08cb3febd6fcbeccb7b4e3354f4d6..a5e315ac4cf59bc5afe9adc7681a55b76adbcd8d 100644 (file)
@@ -33,7 +33,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: confparser.y.dirty,v 1.35 2000/12/01 23:29:54 marka Exp $ */
+/* $Id: confparser.y.dirty,v 1.36 2000/12/02 00:57:43 marka Exp $ */
 
 #include <config.h>
 
@@ -3697,9 +3697,9 @@ view_stmt: L_VIEW any_string optional_class L_LBRACE
                tmpres = dns_c_viewtable_addview(currcfg->views, view);
                if (tmpres != ISC_R_SUCCESS) {
                        dns_c_view_delete(&view);
-                       isc_mem_free(memctx, $2);
                        parser_error(ISC_FALSE,
                                     "view '%s' already exists", $2);
+                       isc_mem_free(memctx, $2);
                        YYABORT;
                }
                dns_c_ctx_setcurrview(currcfg, view);