diff --git a/vfs/dirfs/dirfs_vfsops.c b/vfs/dirfs/dirfs_vfsops.c --- a/vfs/dirfs/dirfs_vfsops.c +++ b/vfs/dirfs/dirfs_vfsops.c @@ -146,6 +146,7 @@ goto failure; } } else { + kfree(dmp, M_DIRFS); error = errno; goto failure; }