From 3dccc3da7485059996ad490d4bf9ba23693110f7 Mon Sep 17 00:00:00 2001 From: Varun Shastry Date: Wed, 18 Jun 2014 17:55:54 +0530 Subject: features/quota: Fix dict leak Change-Id: I971a52163c0f1a887bbb8585cd69df2339af51cb BUG: 1110777 Signed-off-by: Varun Shastry Reviewed-on: http://review.gluster.org/8102 Tested-by: Gluster Build System Reviewed-by: Raghavendra G Tested-by: Raghavendra G --- xlators/features/quota/src/quota.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'xlators/features') diff --git a/xlators/features/quota/src/quota.c b/xlators/features/quota/src/quota.c index 0bfa05e0596..afdade1432a 100644 --- a/xlators/features/quota/src/quota.c +++ b/xlators/features/quota/src/quota.c @@ -709,6 +709,9 @@ quota_validate (call_frame_t *frame, inode_t *inode, xlator_t *this, ret = 0; err: + if (xdata) + dict_unref (xdata); + return ret; } -- cgit