From 74a143100fa4b9532d37bed39504dcea9d371d18 Mon Sep 17 00:00:00 2001 From: vmallika Date: Fri, 3 Jul 2015 17:32:04 +0530 Subject: quota: fix mem leak in quota enforcer This is a backport of review.gluster.org/#/c/11526/ Do inode_unref on parent > Change-Id: I21d82eb8716dd73aa2dc291b3ae8506e4fb4ea8b > BUG: 1207735 > Signed-off-by: vmallika Change-Id: I4caeedbe8721b660df1c8502a0a42033f1d40a97 BUG: 1229282 Signed-off-by: vmallika Reviewed-on: http://review.gluster.org/11529 Tested-by: Gluster Build System Tested-by: NetBSD Build System Reviewed-by: Raghavendra G Tested-by: Raghavendra G --- xlators/features/quota/src/quota.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/features/quota/src/quota.c') diff --git a/xlators/features/quota/src/quota.c b/xlators/features/quota/src/quota.c index 18ad3c93d7b..5ddfaa9f0e5 100644 --- a/xlators/features/quota/src/quota.c +++ b/xlators/features/quota/src/quota.c @@ -955,8 +955,8 @@ quota_check_limit_continuation (struct list_head *parents, inode_t *inode, list_for_each_entry (entry, parents, next) { parent = inode_find (inode->table, entry->par); - quota_check_limit (frame, parent, this, NULL, NULL); + inode_unref (parent); } out: -- cgit