diff options
author | Shehjar Tikoo <shehjart@gluster.com> | 2009-09-09 00:39:13 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-09-09 06:38:57 -0700 |
commit | aedc8ae261095530e334788afb7191fa3a92e710 (patch) | |
tree | c78c2ecd245669aa63e1983b3561ff2123f026d8 /booster/src/booster.c | |
parent | 6aff97e9698918af6d5e479b0240610d40cbe344 (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/src/booster.c')
-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; |