+++ This bug was initially created as a clone of Bug #1716695 +++ Description of problem: There are quite a few memory leaks identified for client side xlators. 1) xlators/cluster/afr/src/afr.c ---> this->local_pool is not freed 2) xlators/cluster/ec/src/ec.c ----> this->itable is not freed 3) protocol/client/src/client.c ----> this->local_pool is not freed I will add more to this list in case if I found any other leaks Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: --- Additional comment from Worker Ant on 2019-06-04 00:19:02 UTC --- REVIEW: https://review.gluster.org/22806 (afr/fini: Free local_pool data during an afr fini) posted (#1) for review on master by mohammed rafi kc --- Additional comment from Worker Ant on 2019-06-04 00:20:15 UTC --- REVIEW: https://review.gluster.org/22807 (ec/fini: Free itable during an ec fini) posted (#1) for review on master by mohammed rafi kc --- Additional comment from Worker Ant on 2019-06-17 07:06:11 UTC --- REVIEW: https://review.gluster.org/22806 (afr/fini: Free local_pool data during an afr fini) merged (#3) on master by Pranith Kumar Karampuri --- Additional comment from Worker Ant on 2019-06-20 08:38:02 UTC --- REVIEW: https://review.gluster.org/22904 (graph/shd: Use glusterfs_graph_deactivate to free the xl rec) posted (#1) for review on master by mohammed rafi kc --- Additional comment from Worker Ant on 2019-06-27 06:04:44 UTC --- REVIEW: https://review.gluster.org/22904 (graph/shd: Use glusterfs_graph_deactivate to free the xl rec) merged (#8) on master by Pranith Kumar Karampuri --- Additional comment from Worker Ant on 2019-06-27 13:53:18 UTC --- REVIEW: https://review.gluster.org/22968 (graph/shd: Use top down approach while cleaning xlator) posted (#1) for review on master by mohammed rafi kc --- Additional comment from Worker Ant on 2019-06-27 18:25:41 UTC --- REVIEW: https://review.gluster.org/22968 (graph/shd: Use top down approach while cleaning xlator) merged (#3) on master by mohammed rafi kc
REVIEW: https://review.gluster.org/23056 (graph/shd: Use glusterfs_graph_deactivate to free the xl rec) posted (#2) for review on release-7 by mohammed rafi kc
REVIEW: https://review.gluster.org/23057 (graph/shd: Use top down approach while cleaning xlator) posted (#2) for review on release-7 by mohammed rafi kc
REVIEW: https://review.gluster.org/23058 (glusterd/svc: update pid of mux volumes from the shd process) posted (#2) for review on release-7 by mohammed rafi kc
REVISION POSTED: https://review.gluster.org/23058 (glusterd/svc: update pid of mux volumes from the shd process) posted (#3) for review on release-7 by mohammed rafi kc
REVIEW: https://review.gluster.org/23056 (graph/shd: Use glusterfs_graph_deactivate to free the xl rec) merged (#3) on release-7 by Rinku Kothiya
REVIEW: https://review.gluster.org/23057 (graph/shd: Use top down approach while cleaning xlator) merged (#3) on release-7 by Rinku Kothiya
Patch is merged closing this bug now.