summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--api/src/glfs-handleops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/src/glfs-handleops.c b/api/src/glfs-handleops.c
index dadbda3675f..a82cab52dec 100644
--- a/api/src/glfs-handleops.c
+++ b/api/src/glfs-handleops.c
@@ -666,7 +666,7 @@ out:
if (xattr_req)
dict_unref (xattr_req);
- if (ret && glfd) {
+ if (glfd) {
glfs_fd_destroy (glfd);
glfd = NULL;
}