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..
This commit is contained in:
Julian Elischer 1997-10-12 22:27:11 +00:00
parent 6f59cd11ea
commit d9c15b1f71
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=30359

View file

@ -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 ;
}