diff options
author | Varun Shastry <vshastry@redhat.com> | 2014-06-18 17:55:54 +0530 |
---|---|---|
committer | Raghavendra G <rgowdapp@redhat.com> | 2014-06-18 09:51:54 -0700 |
commit | 3dccc3da7485059996ad490d4bf9ba23693110f7 (patch) | |
tree | dcb8ccaf08226bc977594ef1259631310abf54bc /xlators/features/quota | |
parent | b54764ba860c3baba4b441ae7fcf043ab7eb46db (diff) |
features/quota: Fix dict leak
Change-Id: I971a52163c0f1a887bbb8585cd69df2339af51cb
BUG: 1110777
Signed-off-by: Varun Shastry <vshastry@redhat.com>
Reviewed-on: http://review.gluster.org/8102
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
Tested-by: Raghavendra G <rgowdapp@redhat.com>
Diffstat (limited to 'xlators/features/quota')
-rw-r--r-- | xlators/features/quota/src/quota.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; } |