[Bugs] [Bug 1311441] Fix mem leaks related to gfapi applications
bugzilla at redhat.com
bugzilla at redhat.com
Thu Mar 24 15:02:26 UTC 2016
https://bugzilla.redhat.com/show_bug.cgi?id=1311441
--- Comment #14 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/13507 committed in release-3.7 by Jeff Darcy
(jdarcy at redhat.com)
------
commit 10d7b9d45a90d345f6ce4ec0e7192e0226602d80
Author: Soumya Koduri <skoduri at redhat.com>
Date: Tue Feb 16 18:50:23 2016 +0530
rpc: Fix for rpc_transport_t leak
The transport object needs to get unref'ed when the rpc clnt
object is getting destroyed. But currently in rpc_clnt_disable()
we set conn->trans to NULL before it gets unref'ed leading to
transport object leak.
This change is to fix it by setting conn-tran to NULL only when
it is being unref'ed.
This is backport of the below patch
- http://review.gluster.org/13456
Change-Id: I79ba34e28ae19eb616035f36bbed1c2f47875b94
BUG: 1311441
Signed-off-by: Soumya Koduri <skoduri at redhat.com>
Reviewed-on: http://review.gluster.org/13456
Reviewed-by: Kaleb KEITHLEY <kkeithle at redhat.com>
Reviewed-by: Jeff Darcy <jdarcy at redhat.com>
Reviewed-on: http://review.gluster.org/13507
Smoke: Gluster Build System <jenkins at build.gluster.com>
NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
CentOS-regression: Gluster Build System <jenkins at build.gluster.com>
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list