diff options
author | Christopher R. Hertel <crh@redhat.com> | 2014-01-27 16:38:14 -0600 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2014-02-08 11:30:01 -0800 |
commit | 8b5b2bfcda0dc95aa170b8752ad97d94701172f2 (patch) | |
tree | 3eb4ddff0d674ca16ad3be552d5203ff3eed1cdc /xlators/mgmt | |
parent | 14792bd894e7838efdc8f50a16af5445b448dc2e (diff) |
performance/quick-read: Allocated memory not freed when not used.
If memory is successfully allocated in the call to qr_content_extract(),
but is not used, it is not being freed. This patch frees the allocated
memory if it is not passed to qr_content_refresh().
BUG: 789278
CID: 1124735
Change-Id: I1c1f03a3b92fa26321ec6ee8822e6fa41da79875
Signed-off-by: Christopher R. Hertel <crh@redhat.com>
Reviewed-on: http://review.gluster.org/6827
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'xlators/mgmt')
0 files changed, 0 insertions, 0 deletions