[Bugs] [Bug 1338733] __inode_ctx_put: fix mem leak on failure

bugzilla at redhat.com bugzilla at redhat.com
Wed Jun 1 13:28:54 UTC 2016


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



--- Comment #4 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/14505 committed in master by Jeff Darcy
(jdarcy at redhat.com) 
------
commit a04eaf366779a0632e5b9cdd6d63de0eb62f7449
Author: Prasanna Kumar Kalever <prasanna.kalever at redhat.com>
Date:   Mon May 23 14:31:51 2016 +0530

    __inode_ctx_put: fix mem leak on failure

    up on failure case __inode_ctx_put need to free the allocated memory

    Indirect leak of 104 byte(s) in 1 object(s) allocated from:
        #0 0x496669 in __interceptor_calloc
(/usr/local/sbin/glusterfsd+0x496669)
        #1 0x7f8a288522f9 in __gf_calloc libglusterfs/src/mem-pool.c:117
        #2 0x7f8a17235962 in __posix_acl_ctx_get
xlators/system/posix-acl/src/posix-acl.c:308

    Change-Id: I0ce6da3967c55931a70f77d8551ccf52e4cdfda3
    BUG: 1338733
    Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever at redhat.com>
    Reviewed-on: http://review.gluster.org/14505
    Tested-by: Prasanna Kumar Kalever <pkalever at redhat.com>
    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: 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=X1pyvyeeoV&a=cc_unsubscribe


More information about the Bugs mailing list