diff options
-rw-r--r-- | api/src/glfs-fops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/src/glfs-fops.c b/api/src/glfs-fops.c index b09dd90f7b1..5ea54567d74 100644 --- a/api/src/glfs-fops.c +++ b/api/src/glfs-fops.c @@ -1790,7 +1790,7 @@ out: if (ret && glfd) { glfs_fd_destroy (glfd); glfd = NULL; - } else { + } else if (glfd) { fd_bind (glfd->fd); glfs_fd_bind (glfd); } |