[Bugs] [Bug 789278] Issues reported by Coverity static analysis tool
bugzilla at redhat.com
bugzilla at redhat.com
Fri May 5 18:50:23 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=789278
--- Comment #896 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/16715 committed in master by Jeff Darcy
(jeff at pl.atyp.us)
------
commit 1538b7296cc0a3150f33190f97dc99c9ca126322
Author: Michael Scherer <misc at redhat.com>
Date: Wed Feb 22 16:40:12 2017 +0100
Fix ressources leak on error path
Coverty found a path where blk_fop is not freed, thus
leaking memory. The main cause is because we are using the
wrong variable for errors.
I do not think this is leaking anything in
practice, since the error condition seems quite rare, but
fixing this should remove around 15 coverty warning.
Change-Id: Ida0ea59f501f0a21bd1d8119aa1a299ce655add8
BUG: 789278
Signed-off-by: Michael Scherer <misc at redhat.com>
Reviewed-on: https://review.gluster.org/16715
Smoke: Gluster Build System <jenkins at build.gluster.org>
Reviewed-by: soumya k <skoduri at redhat.com>
CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
Tested-by: Michael Scherer <misc at fedoraproject.org>
NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
Reviewed-by: Jeff Darcy <jeff at pl.atyp.us>
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Bugs
mailing list