From d9c15b1f71be91e746ed01fe3e8104b845e055b6 Mon Sep 17 00:00:00 2001 From: Julian Elischer Date: Sun, 12 Oct 1997 22:27:11 +0000 Subject: [PATCH] if we free all the links to a node, then by definition we freed the name we used to find it.. SO DON'T free it again later! pointy hat over here please.. --- sys/miscfs/devfs/devfs_tree.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/miscfs/devfs/devfs_tree.c b/sys/miscfs/devfs/devfs_tree.c index be1deab4840a..47220624223d 100644 --- a/sys/miscfs/devfs/devfs_tree.c +++ b/sys/miscfs/devfs/devfs_tree.c @@ -2,7 +2,7 @@ /* * Written by Julian Elischer (julian@DIALix.oz.au) * - * $Header: /home/ncvs/src/sys/miscfs/devfs/devfs_tree.c,v 1.43 1997/10/11 18:31:28 phk Exp $ + * $Header: /home/ncvs/src/sys/miscfs/devfs/devfs_tree.c,v 1.44 1997/10/12 20:24:34 phk Exp $ */ #include "opt_devfs.h" @@ -620,7 +620,6 @@ devfs_remove_dev(void *devnmp) { dev_free_name(dnp->linklist); } - dev_free_name((devnm_p)devnmp); return ; }