diff options
-rw-r--r-- | libnetfs/dir-lookup.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libnetfs/dir-lookup.c b/libnetfs/dir-lookup.c index 10ea2d0b..74351fa9 100644 --- a/libnetfs/dir-lookup.c +++ b/libnetfs/dir-lookup.c @@ -277,15 +277,13 @@ netfs_S_dir_lookup (struct protid *diruser, if (error != ENOENT) { - netfs_nrele (dnp); - netfs_nput (np); *retry_port_type = MACH_MSG_TYPE_MOVE_SEND; if (!lastcomp && !error) { strcat (retry_name, "/"); strcat (retry_name, nextname); } - return error; + goto out; } /* ENOENT means there was a hiccup, and the translator vanished |