quota/marker: fix mem-leak, free contribution node

When removing contribution xattr, we also need to free
contribution node in memory

Change-Id: I5fe97813a8f39e2f00401976046bd280f2eea54d
BUG: 1207735
Signed-off-by: vmallika <vmallika@redhat.com>
Reviewed-on: http://review.gluster.org/11311
Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
Tested-by: Raghavendra G <rgowdapp@redhat.com>
This commit is contained in:
vmallika 2015-06-18 14:30:16 +05:30 committed by Raghavendra G
parent c791765bc8
commit 8ab6608acc

View File

@ -2606,6 +2606,8 @@ mq_remove_contri (xlator_t *this, loc_t *loc, inode_contribution_t *contri)
}
UNLOCK (&contri->lock);
QUOTA_FREE_CONTRIBUTION_NODE (contri);
ret = 0;
out: