[Bugs] [Bug 1295107] Fix mem leaks related to gfapi applications

bugzilla at redhat.com bugzilla at redhat.com
Wed Feb 24 02:51:17 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1295107



--- Comment #16 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/13456 committed in master by Jeff Darcy
(jdarcy at redhat.com) 
------
commit 8cf29a4207c162be8e2993ae36f49090851cbbfc
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.

    Change-Id: I79ba34e28ae19eb616035f36bbed1c2f47875b94
    BUG: 1295107
    Signed-off-by: Soumya Koduri <skoduri at redhat.com>
    Reviewed-on: http://review.gluster.org/13456
    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>
    Reviewed-by: Kaleb KEITHLEY <kkeithle at redhat.com>
    Reviewed-by: Jeff Darcy <jdarcy at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=bwkmPveSQW&a=cc_unsubscribe


More information about the Bugs mailing list