1 2 3 4 5 6 7 8 9 10 11
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; }