diff options
author | Shehjar Tikoo <shehjart@gluster.com> | 2009-09-09 00:46:32 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-09-09 06:39:22 -0700 |
commit | 23f2810c5e750ac7ccf82622740205b7615c852b (patch) | |
tree | 1de7bd10cf222cff654c60c737bb24da225f22ff /booster | |
parent | 2f44214fc6fd07c434ff6ca48f2c61d2ad9c3939 (diff) |
booster: Fix fd_t leak in pread64
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 174 (booster: fd_ts, they are a leakin)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=174
Diffstat (limited to 'booster')
-rw-r--r-- | booster/src/booster.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/booster/src/booster.c b/booster/src/booster.c index 28878ae6342..b5a70c7db41 100644 --- a/booster/src/booster.c +++ b/booster/src/booster.c @@ -685,6 +685,7 @@ pread64 (int fd, void *buf, size_t count, uint64_t offset) } else { gf_log ("booster", GF_LOG_DEBUG, "Is a booster fd"); ret = glusterfs_pread (glfs_fd, buf, count, offset); + booster_fdptr_put (glfs_fd); } return ret; |