[Bugs] [Bug 1196027] New: Fix memory leak while using scandir

bugzilla at redhat.com bugzilla at redhat.com
Wed Feb 25 06:34:45 UTC 2015


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

            Bug ID: 1196027
           Summary: Fix memory leak while using scandir
           Product: GlusterFS
           Version: mainline
         Component: snapshot
          Severity: medium
          Assignee: bugs at gluster.org
          Reporter: sarumuga at redhat.com
                CC: bugs at gluster.org, gluster-bugs at redhat.com



Description of problem:

scandir allocates memory for dirent entries.
once dirent entries are used, free them appropriately.

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


How reproducible:
-

Steps to Reproduce:
-

Actual results:
Corresponding dirent entries are freed.

Expected results:


Additional info:
Please refer man scandir for more info.

-- 
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