summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdiskfs/name-cache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libdiskfs/name-cache.c b/libdiskfs/name-cache.c
index c113692c..a212a6dc 100644
--- a/libdiskfs/name-cache.c
+++ b/libdiskfs/name-cache.c
@@ -249,6 +249,7 @@ diskfs_check_lookup_cache (struct node *dir, const char *name)
{
/* Lose */
pthread_mutex_unlock (&np->lock);
+ diskfs_nrele (np);
return 0;
}
}