diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2018-02-28 17:58:31 +0530 |
---|---|---|
committer | jiffin tony Thottan <jthottan@redhat.com> | 2018-08-17 05:34:35 +0000 |
commit | dfbc7eaa8258721670a66fc49df7774cb248ff4f (patch) | |
tree | 561ea41458c9b56e0bb3860ebd7d56795e3665b7 /extras/command-completion/gluster.bash | |
parent | 4fc27a7e3022088dbadedb5c2a83b94ae52e1766 (diff) |
cluster/afr: Fix dict-leak in pre-op
At the time of pre-op, pre_op_xdata is populted with the xattrs we get from the
disk and at the time of post-op it gets over-written without unreffing the
previous value stored leading to a leak.
This is a regression we missed in
https://review.gluster.org/#/q/ba149bac92d169ae2256dbc75202dc9e5d06538e
Originally:
> Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
> (cherry picked from commit e7b79c59590c203c65f7ac8548b30d068c232d33)
Change-Id: I0456f9ad6f77ce6248b747964a037193af3a3da7
Fixes: bz#1613512
Signed-off-by: Amar Tumballi <amarts@redhat.com>
Diffstat (limited to 'extras/command-completion/gluster.bash')
0 files changed, 0 insertions, 0 deletions