summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ospfd/parse.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ospfd/parse.y b/usr.sbin/ospfd/parse.y
index be15aa0244f..8297690d3de 100644
--- a/usr.sbin/ospfd/parse.y
+++ b/usr.sbin/ospfd/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.31 2006/05/30 22:06:14 claudio Exp $ */
+/* $OpenBSD: parse.y,v 1.32 2006/05/31 02:18:23 pat Exp $ */
/*
* Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org>
@@ -208,12 +208,12 @@ conf_main : ROUTERID STRING {
free(r);
YYERROR;
}
- free($2);
SIMPLEQ_INSERT_TAIL(&conf->redist_list, r,
entry);
}
conf->redistribute |= REDISTRIBUTE_ON;
+ free($2);
}
| REDISTRIBUTE RTLABEL STRING {