aboutsummaryrefslogtreecommitdiff
path: root/nfs
diff options
context:
space:
mode:
Diffstat (limited to 'nfs')
-rw-r--r--nfs/ops.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/nfs/ops.c b/nfs/ops.c
index afde0bed..e0daae3f 100644
--- a/nfs/ops.c
+++ b/nfs/ops.c
@@ -251,8 +251,7 @@ netfs_attempt_chmod (struct iouser *cred, struct node *np,
np->nn->dtrans = SOCK;
np->nn->stat_updated = 0;
}
- if (f)
- free (f);
+ free (f);
return 0;
}
}