diff options
author | Raghavendra Bhat <raghavendrabhat@gluster.com> | 2011-04-16 06:05:31 +0000 |
---|---|---|
committer | Anand Avati <avati@gluster.com> | 2011-04-16 07:16:47 -0700 |
commit | 679c3986b9b72d19d6057d400ec8f1fba1569853 (patch) | |
tree | 3e6021719112abcd83c61c68a9b528f3b1f8a607 /xlators/features/quota/src | |
parent | d5110f12ac0352991f22cbf4f80d855a8f35ba42 (diff) |
quota: do not assign frame->local to NULL which leads to memleak
Signed-off-by: Raghavendra Bhat <raghavendrabhat@gluster.com>
Signed-off-by: Anand Avati <avati@gluster.com>
BUG: 2772 ([glusterfs-3.2.0qa12]: excessive quota local NULL errors)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2772
Diffstat (limited to 'xlators/features/quota/src')
-rw-r--r-- | xlators/features/quota/src/quota.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/xlators/features/quota/src/quota.c b/xlators/features/quota/src/quota.c index ebf6a5ec106..dc936b284b9 100644 --- a/xlators/features/quota/src/quota.c +++ b/xlators/features/quota/src/quota.c @@ -1708,7 +1708,6 @@ quota_symlink_cbk (call_frame_t *frame, void *cookie, xlator_t *this, } local = frame->local; - frame->local = NULL; size = buf->ia_blocks * 512; quota_update_size (this, local->loc.parent, NULL, 0, size); |