summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2005-05-27 04:48:49 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2005-05-27 04:48:49 +0000
commit1a9e6b081d1252d69460302c9662ed89a8a74e62 (patch)
tree6b9b0f4ee09a206c14c4aacc7b356a7fb7a866e4 /usr.sbin
parentc6d5da41fd4f24204e93860f6c5fd537a28e87d5 (diff)
Fix a access after free on shutdown. OK norby@
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ospfd/ospfe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ospfd/ospfe.c b/usr.sbin/ospfd/ospfe.c
index 6a73ace5df4..092c7c261a7 100644
--- a/usr.sbin/ospfd/ospfe.c
+++ b/usr.sbin/ospfd/ospfe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ospfe.c,v 1.27 2005/05/27 02:37:39 norby Exp $ */
+/* $OpenBSD: ospfe.c,v 1.28 2005/05/27 04:48:48 claudio Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -202,8 +202,8 @@ ospfe_shutdown(void)
iface->name);
}
}
- area_del(area);
}
+ area_del(area);
}
/* clean up */