summaryrefslogtreecommitdiffstats
path: root/xlators/performance/quick-read
diff options
context:
space:
mode:
authorPoornima <pgurusid@redhat.com>2014-01-23 02:08:19 +0000
committerVijay Bellur <vbellur@redhat.com>2014-02-07 18:52:41 -0800
commit38e23d727a8fb5a4d688d9f8dc9178e6718215f5 (patch)
treeda5334536aade25d26894075f6efc98875e1341c /xlators/performance/quick-read
parent9433cc43efd8d63b66ce5c0927a7bde01a6b7304 (diff)
quick-read: Remove unref of a freed iobuf.
Change-Id: Ie21414658db571c9a483730b6d5e8997f04255c1 BUG: 789278 Signed-off-by: Poornima <pgurusid@redhat.com> Reviewed-on: http://review.gluster.org/6823 Reviewed-by: Raghavendra G <rgowdapp@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'xlators/performance/quick-read')
-rw-r--r--xlators/performance/quick-read/src/quick-read.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/xlators/performance/quick-read/src/quick-read.c b/xlators/performance/quick-read/src/quick-read.c
index 1b19ab52722..21197c767c9 100644
--- a/xlators/performance/quick-read/src/quick-read.c
+++ b/xlators/performance/quick-read/src/quick-read.c
@@ -566,7 +566,6 @@ qr_readv_cached (call_frame_t *frame, qr_inode_t *qr_inode, size_t size,
iobref = iobref_new ();
if (!iobref) {
op_ret = -1;
- iobuf_unref (iobuf);
goto unlock;
}