diff options
Diffstat (limited to 'api')
-rw-r--r-- | api/src/glfs-fops.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/api/src/glfs-fops.c b/api/src/glfs-fops.c index ea61c8b7a43..ca2d3adc14f 100644 --- a/api/src/glfs-fops.c +++ b/api/src/glfs-fops.c @@ -1440,8 +1440,7 @@ out: if (ret) { if (fd) fd_unref (fd); - if (glfd) - GF_REF_PUT (glfd); + GF_REF_PUT (glfd); GF_FREE (gio); if (frame) STACK_DESTROY (frame->root); |