summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/peropen-rele.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/peropen-rele.c b/libdiskfs/peropen-rele.c
index c6ec79a7..fb7ad5ce 100644
--- a/libdiskfs/peropen-rele.c
+++ b/libdiskfs/peropen-rele.c
@@ -27,7 +27,7 @@ diskfs_release_peropen (struct peropen *po)
mutex_unlock (&po->np->lock);
return;
}
- diskfs_nput (np);
+ diskfs_nput (po->np);
free (po);
}