[Bugs] [Bug 1311377] Memory leak in glusterd

bugzilla at redhat.com bugzilla at redhat.com
Thu Mar 10 15:20:09 UTC 2016


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



--- Comment #9 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/13503 committed in release-3.7 by Vijay
Bellur (vbellur at redhat.com) 
------
commit af7428490253421484e61409ddb77b653c4a5e63
Author: Gaurav Kumar Garg <garg.gaurav52 at gmail.com>
Date:   Wed Dec 9 20:12:17 2015 +0530

    glusterd: fixing few memory leak in glusterd

    This patch is backport of: http://review.gluster.org/#/c/12927/

    Current glusterd code base having memory leak. This is because of
    memory allocate by dict_allocate_and_serialize function in
    "gd_syncop_mgmt_v3_lock" and "gd_syncop_mgmt_v3_unlock"
    function is not freeing up memory upon exit.

    Fix is to free the memory after exit of the above function.

    Thanks Carlos and Roman for finding out the issue and fix.

     >> Change-Id: Id67aa794c84969830ca7ea8c2374f80c64d7a639
     >> BUG: 1287517
     >> Signed-off-by: Gaurav Kumar Garg <ggarg at redhat.com>
     >> Signed-off-by: Carlos Chinea <carlos.chinea at nokia.com>
     >> Signed-off-by: Roman Tereshonkov <roman.tereshonkov at nokia.com>
     >> Reviewed-on: http://review.gluster.org/12927
     >> 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>

    Change-Id: Id67aa794c84969830ca7ea8c2374f80c64d7a639
    BUG: 1311377
    Signed-off-by: Gaurav Kumar Garg <ggarg at redhat.com>
    (cherry picked from commit e38bf1bdeda3c7a89be3193ad62a72b9139358dd)
    Reviewed-on: http://review.gluster.org/13503
    Smoke: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Vijay Bellur <vbellur at redhat.com>
    Tested-by: Vijay Bellur <vbellur at redhat.com>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.com>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>

-- 
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=AnjuZBfNQv&a=cc_unsubscribe


More information about the Bugs mailing list