diff --git a/api/src/glfs-handleops.c b/api/src/glfs-handleops.c index dadbda367..a82cab52d 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; }