diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2013-04-24 18:05:13 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2013-04-26 00:18:54 -0700 |
commit | 6419bd804b9cf43ad08fc54ef605c77b0e7895af (patch) | |
tree | 37762ea6fbd2a79de4eb0102f8a6ccd206d5bf9e /xlators/mgmt/glusterd/src/glusterd-store.c | |
parent | 054c1d7eb3782c35fc0f0ea3a5fd25337d080294 (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.
Change-Id: I00013df1377475aa5f3c0c681dcb58b32e1e8063
BUG: 955751
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Reviewed-on: http://review.gluster.org/4884
Reviewed-by: Raghavendra G <raghavendra@gluster.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-store.c')
0 files changed, 0 insertions, 0 deletions