diff options
| author | Ravishankar N <ravishankar@redhat.com> | 2016-08-23 12:51:57 +0530 |
|---|---|---|
| committer | gluster-ant <bugzilla-bot@gluster.org> | 2016-08-23 12:51:57 +0530 |
| commit | 4e3a67bb849b9ccbe688de7789704963a1e49e8a (patch) | |
| tree | 4f1b86ba8a3c19786ad66e99f8ba0f9b17e2d870 /cli/src | |
| parent | bf79fe507272f340cf3f9af0ed4a96f21f8396cf (diff) | |
arbiter: Fix memleak in arbiter_inode ctx
Problem:
The iattbuf ptr stored in arbiter's inode context was not freed during inode
forget.
Fix:
Change it to a statically allocated value so that we don't have to deal
with allocating/freeing it.
Change-Id: Id1b73b8aee1fb5c4174d0734bd20e168432b1abd
BUG: 1369331
Reported-by: Benjamin Edgar <benedgar8@gmail.com>
Signed-off-by: Ravishankar N <ravishankar@redhat.com>
Reviewed-on: http://review.gluster.org/15289
Smoke: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Tested-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Diffstat (limited to 'cli/src')
0 files changed, 0 insertions, 0 deletions
