path: root/xlators/cluster/afr/src/afr-dir-write.c
diff options
authorXavier Hernandez <>2017-01-12 08:38:50 +0100
committerJeff Darcy <>2017-01-12 11:03:09 -0800
commit79b3fb6e8d3c9d681917be6e6c9f6ba04eb73f82 (patch)
tree8d00996f068a1b88a86cb9f16c8942f9c9f4a094 /xlators/cluster/afr/src/afr-dir-write.c
parent2010eedfe8edbb9842d022b93d6bf2a5226cedc0 (diff)
fuse: fix memory leak in setxattr
If there's some failed check in setxattr of mount/fuse before actually starting the operation, a fuse_state_t structure is leaked. This fix correctly releases allocated resources in case of error. Change-Id: I8b1cda67a613c13b6bc38947352e2ccfccf96a1d BUG: 1412174 Signed-off-by: Xavier Hernandez <> Reviewed-on: Smoke: Gluster Build System <> NetBSD-regression: NetBSD Build System <> Reviewed-by: Niels de Vos <> CentOS-regression: Gluster Build System <> Reviewed-by: Jeff Darcy <>
Diffstat (limited to 'xlators/cluster/afr/src/afr-dir-write.c')
0 files changed, 0 insertions, 0 deletions