summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/dir-mkfile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libdiskfs/dir-mkfile.c b/libdiskfs/dir-mkfile.c
index 47f96201..1a09ec41 100644
--- a/libdiskfs/dir-mkfile.c
+++ b/libdiskfs/dir-mkfile.c
@@ -66,6 +66,7 @@ diskfs_S_dir_mkfile (struct protid *cred,
cred->uids, cred->nuids,
cred->gids, cred->ngids)));
*newnodetype = MACH_MSG_TYPE_MAKE_SEND;
+ diskfs_nput (np);
return 0;
}