diff options
author | Ravishankar N <ravishankar@redhat.com> | 2016-08-23 12:51:57 +0530 |
---|---|---|
committer | Pranith Kumar Karampuri <pkarampu@redhat.com> | 2016-08-23 19:10:21 -0700 |
commit | 4aa52061a51b97c4f865b402f977b3b43f5471a7 (patch) | |
tree | 6c186ff714e29bf7ad3605865c9a8a2d999d4b6c /libglusterfs/src/graph-print.c | |
parent | 5ce748ca45c6f2f867819400f50c9cdc12604226 (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 'libglusterfs/src/graph-print.c')
0 files changed, 0 insertions, 0 deletions