diff options
author | Vikas Gorur <vikas@gluster.com> | 2009-04-17 05:42:23 -0700 |
---|---|---|
committer | Anand V. Avati <avati@amp.gluster.com> | 2009-04-17 18:14:39 +0530 |
commit | 7b1beca0a3b60a8b9347a3122d77aea081ccb773 (patch) | |
tree | 581a8b7163fbebc8f0ab0e83499f061c37b444c1 /xlators/cluster | |
parent | 98a872df828aa2786c7bf595d430ef64351f4192 (diff) |
Fix two memory leaks in afr self heal code.
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'xlators/cluster')
-rw-r--r-- | xlators/cluster/afr/src/afr-self-heal-common.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xlators/cluster/afr/src/afr-self-heal-common.c b/xlators/cluster/afr/src/afr-self-heal-common.c index b74035be8d5..be75a6261ba 100644 --- a/xlators/cluster/afr/src/afr-self-heal-common.c +++ b/xlators/cluster/afr/src/afr-self-heal-common.c @@ -177,6 +177,8 @@ afr_sh_build_pending_matrix (afr_private_t *priv, } } } + + FREE (ignorant_subvols); } @@ -504,6 +506,8 @@ afr_sh_mark_sources (afr_self_heal_t *sh, int child_count, } out: + FREE (characters); + return nsources; } |