diff options
-rw-r--r-- | libdiskfs/lookup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/lookup.c b/libdiskfs/lookup.c index d5fc0a4e..f38efed2 100644 --- a/libdiskfs/lookup.c +++ b/libdiskfs/lookup.c @@ -130,7 +130,7 @@ diskfs_lookup (struct node *dp, char *name, enum lookup_type type, if (err2) { if (np) - diskfs_nput (np); + diskfs_nput (*np); return err2; } } |