From 679c3986b9b72d19d6057d400ec8f1fba1569853 Mon Sep 17 00:00:00 2001 From: Raghavendra Bhat Date: Sat, 16 Apr 2011 06:05:31 +0000 Subject: quota: do not assign frame->local to NULL which leads to memleak Signed-off-by: Raghavendra Bhat Signed-off-by: Anand Avati BUG: 2772 ([glusterfs-3.2.0qa12]: excessive quota local NULL errors) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2772 --- xlators/features/quota/src/quota.c | 1 - 1 file changed, 1 deletion(-) (limited to 'xlators') 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); -- cgit