diff options
author | bp <bp@FreeBSD.org> | 2000-06-29 01:19:12 +0000 |
---|---|---|
committer | bp <bp@FreeBSD.org> | 2000-06-29 01:19:12 +0000 |
commit | 579668ebe92fcc9fc9f444a713083a7b42f6a23f (patch) | |
tree | b3968c7e93706f2b4d1798658dd626d9123e86c5 /sys/isofs/cd9660/cd9660_node.c | |
parent | 6c6297b200fc4c9df8b5bd35fcd4a48fa764c5c5 (diff) | |
download | FreeBSD-src-579668ebe92fcc9fc9f444a713083a7b42f6a23f.zip FreeBSD-src-579668ebe92fcc9fc9f444a713083a7b42f6a23f.tar.gz |
Fix memory leakage on module unload.
Spotted by: fixed INVARIANTS code
Diffstat (limited to 'sys/isofs/cd9660/cd9660_node.c')
-rw-r--r-- | sys/isofs/cd9660/cd9660_node.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/isofs/cd9660/cd9660_node.c b/sys/isofs/cd9660/cd9660_node.c index a1dfd39..4c95977 100644 --- a/sys/isofs/cd9660/cd9660_node.c +++ b/sys/isofs/cd9660/cd9660_node.c @@ -79,6 +79,16 @@ cd9660_init(vfsp) return (0); } +int +cd9660_uninit(vfsp) + struct vfsconf *vfsp; +{ + + if (isohashtbl != NULL) + free(isohashtbl, M_ISOFSMNT); + return (0); +} + /* * Use the device/inum pair to find the incore inode, and return a pointer |