[Bugs] [Bug 1209729] New: Disperse volume: Fix memory leak in truncate calls

bugzilla at redhat.com bugzilla at redhat.com
Wed Apr 8 05:21:35 UTC 2015


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

            Bug ID: 1209729
           Summary: Disperse volume: Fix memory leak in truncate calls
           Product: GlusterFS
           Version: mainline
         Component: disperse
          Severity: medium
          Assignee: bugs at gluster.org
          Reporter: rtalur at redhat.com
                CC: bugs at gluster.org, gluster-bugs at redhat.com



iobuf_get and iobref_add implicitly ref the iobuf.
Hence, it is necessary to unref iobuf before setting it to NULL.
Otherwise it leads to memory leak.

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