[Bugs] [Bug 1607689] Memory leaks on glfs_fini

bugzilla at redhat.com bugzilla at redhat.com
Sat Jul 28 07:22:10 UTC 2018


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



--- Comment #6 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/20554 committed in master by "Amar Tumballi"
<amarts at redhat.com> with a commit message- libgfapi: fix memory leak on old
volume files

Fix missing free of fs->oldvolfile. This patch uses standard
calloc/realloc to allocate memory for vol file. As by the time fs struct
is destroyed, the THIS->ctx is already gone, that causes invalid memory
access.

Change-Id: I72ae19c76eb16e61f077714f7e52405fee721997
fixes: bz#1607689
Signed-off-by: Zhang Huan <zhanghuan at open-fs.com>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list