mirror of
https://github.com/freebsd/freebsd-src
synced 2024-11-05 18:22:52 +00:00
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:
parent
6f59cd11ea
commit
d9c15b1f71
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=30359
1 changed files with 1 additions and 2 deletions
|
@ -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 ;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue