summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorSoumya Koduri <skoduri@redhat.com>2016-02-16 18:50:23 +0530
committerJeff Darcy <jdarcy@redhat.com>2016-02-23 20:15:23 -0800
commit8cf29a4207c162be8e2993ae36f49090851cbbfc (patch)
treee01751b76bea964c550e0c53450f98b5304b2058 /xlators
parentdb747eba347e2909f4fb4fc28a67adb8f188586a (diff)
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. Change-Id: I79ba34e28ae19eb616035f36bbed1c2f47875b94 BUG: 1295107 Signed-off-by: Soumya Koduri <skoduri@redhat.com> Reviewed-on: http://review.gluster.org/13456 Smoke: Gluster Build System <jenkins@build.gluster.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com> Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Diffstat (limited to 'xlators')
0 files changed, 0 insertions, 0 deletions