diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2013-04-24 18:05:13 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2013-05-07 04:39:44 -0700 |
commit | 5925d8a2512b8d4452b0b0efbafd9c7536ed3a51 (patch) | |
tree | b665a719fe9ffea14717ed206bb6793e043963ce /xlators/cluster/afr | |
parent | dfa76943df9c36c3c7f5b31cf153b3c4bbc2ac2e (diff) |
performance/io-cache: Avoid double mem_put in ioc_readv
On readv error io-cache frame->local is not set to NULL
so the local is mem_put in STACK_DESTROY as well. This
patch sets frame->local to NULL in all cases.
BUG: 955751
Change-Id: I4a7340189efe02473452986b5870b02fcfa9038e
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Reviewed-on: http://review.gluster.org/4886
Reviewed-by: Raghavendra G <raghavendra@gluster.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/cluster/afr')
0 files changed, 0 insertions, 0 deletions