|author||Christopher R. Hertel <email@example.com>||2014-02-06 12:39:24 -0600|
|committer||Vijay Bellur <firstname.lastname@example.org>||2014-02-10 08:38:57 -0800|
cluster/afr: goto statements may cause exit before memory is freed.
Memory is allocated for pump_priv and for pump_priv->resume_path, but if an error is detected the references to that memory go out of scope and the memory is never freed. This patch assures that the memory is freed on error. Patchset 2: These are Kaleb's recommended changes which, compared to my original fix, are more comprehensive and provide a more complete resolution to the memory leakage bugs in this function. The bug reported by Coverity was limited to a single memory allocation. BUG: 789278 CID: 1124737 Change-Id: Ie239e3b5d28d97308bf948efec6a92f107bc648b Signed-off-by: Christopher R. Hertel <email@example.com> Reviewed-on: http://review.gluster.org/6929 Tested-by: Gluster Build System <firstname.lastname@example.org> Reviewed-by: Vijay Bellur <email@example.com>
Diffstat (limited to 'glusterfs.spec.in')
0 files changed, 0 insertions, 0 deletions