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:
parent
c791765bc8
commit
8ab6608acc
@ -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:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user