features/quota: Fix ref-leak
Change-Id: I0b44b70f07be441e044d9dfc5c2b64bd5b4cac18 BUG: 1207735 Signed-off-by: Pranith Kumar K <pkarampu@redhat.com> Reviewed-on: http://review.gluster.org/11045 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Raghavendra G <rgowdapp@redhat.com> Tested-by: Raghavendra G <rgowdapp@redhat.com>
This commit is contained in:
parent
b8b59fea78
commit
2b7ae84a5f
@ -385,6 +385,7 @@ check_ancestory (call_frame_t *frame, inode_t *inode)
|
||||
if (!parent) {
|
||||
quota_build_ancestry (cur_inode,
|
||||
check_ancestory_continue, frame);
|
||||
inode_unref (cur_inode);
|
||||
return;
|
||||
}
|
||||
inode_unref (cur_inode);
|
||||
|
Loading…
x
Reference in New Issue
Block a user