[Bugs] [Bug 1216302] New: Symlink heal leaks 'linkname' memory

bugzilla at redhat.com bugzilla at redhat.com
Wed Apr 29 05:09:18 UTC 2015


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

            Bug ID: 1216302
           Summary: Symlink heal leaks 'linkname' memory
           Product: GlusterFS
           Version: 3.7.0
         Component: replicate
          Assignee: bugs at gluster.org
          Reporter: pkarampu at redhat.com
                CC: bugs at gluster.org, gluster-bugs at redhat.com
        Depends On: 1213542



+++ This bug was initially created as a clone of Bug #1213542 +++

Description of problem:
While reading code found that the memory allocated for 'linkname' is not
'free'ed.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Create a symlink while one of the bricks is offline and the symlink heal
leaks memory.
2.
3.

Actual results:


Expected results:


Additional info:

--- Additional comment from Anand Avati on 2015-04-20 13:59:54 EDT ---

REVIEW: http://review.gluster.org/10305 (cluster/afr: Fix memleak in symlink
heal) posted (#1) for review on master by Pranith Kumar Karampuri
(pkarampu at redhat.com)

--- Additional comment from Anand Avati on 2015-04-22 06:53:58 EDT ---

REVIEW: http://review.gluster.org/10305 (cluster/afr,dht: Fix memleak after
syncop_readlink) posted (#2) for review on master by Pranith Kumar Karampuri
(pkarampu at redhat.com)

--- Additional comment from Anand Avati on 2015-04-23 09:55:29 EDT ---

COMMIT: http://review.gluster.org/10305 committed in master by Vijay Bellur
(vbellur at redhat.com) 
------
commit 838317e199c6cc11ff5e7094552537f03a8f6313
Author: Pranith Kumar K <pkarampu at redhat.com>
Date:   Mon Apr 20 23:23:55 2015 +0530

    cluster/afr,dht: Fix memleak after syncop_readlink

    Change-Id: Ia71c14c2c2709c541075748c9011437e0d8cac4b
    BUG: 1213542
    Signed-off-by: Pranith Kumar K <pkarampu at redhat.com>
    Reviewed-on: http://review.gluster.org/10305
    Reviewed-by: Ravishankar N <ravishankar at redhat.com>
    Reviewed-by: N Balachandran <nbalacha at redhat.com>
    Reviewed-by: Krutika Dhananjay <kdhananj at redhat.com>
    Reviewed-by: Vijay Bellur <vbellur at redhat.com>
    Tested-by: Vijay Bellur <vbellur at redhat.com>


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1213542
[Bug 1213542] Symlink heal leaks 'linkname' memory
-- 
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