diff options
-rw-r--r-- | api/src/glfs-fops.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/api/src/glfs-fops.c b/api/src/glfs-fops.c index ca2d3adc14f..0e5b206b98c 100644 --- a/api/src/glfs-fops.c +++ b/api/src/glfs-fops.c @@ -4527,6 +4527,9 @@ out: if (fd) fd_unref(fd); + if (inode) + inode_unref (inode); + glfs_subvol_done (fs, subvol); __GLFS_EXIT_FS; @@ -4595,6 +4598,9 @@ out: if (fd) fd_unref(fd); + if (inode) + inode_unref (inode); + glfs_subvol_done (fs, subvol); __GLFS_EXIT_FS; |