[Bugs] [Bug 1430305] Fix memory leak in rebalance

bugzilla at redhat.com bugzilla at redhat.com
Mon Dec 11 04:54:58 UTC 2017


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



--- Comment #4 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/16870 committed in master by \"Susant
Palai\" <spalai at redhat.com> with a commit message- cluster/dht: fix memory
leaks in rebalance

>From code reading it was found that in gf_defrag_process_dir, GF_FREE
was called directly on dir_dfmeta->equeue leading to leaks of memory for
list of entries read from all the local subvols in case of a failure.

This patch frees the entries read from all the local subvols.

Change-Id: If5e8f557372a8fc2af86628b401e8de1b54986a1
BUG: 1430305
Signed-off-by: Susant Palai <spalai at redhat.com>

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


More information about the Bugs mailing list