diff options
author | Xavier Hernandez <xhernandez@datalab.es> | 2017-01-12 08:38:50 +0100 |
---|---|---|
committer | Niels de Vos <ndevos@redhat.com> | 2017-03-10 17:28:06 -0500 |
commit | b0f1fce00f2b3c86077c88dff85ff99f3263b60b (patch) | |
tree | 0eb3d40ad6d8ecfc4fe6859407628ad15ddf7d2f /extras/hook-scripts | |
parent | a76304cd434028215de39cf3b45672cc7ec6ca70 (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 <xhernandez@datalab.es>
> Reviewed-on: http://review.gluster.org/16380
> Smoke: Gluster Build System <jenkins@build.gluster.org>
> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
> Reviewed-by: Niels de Vos <ndevos@redhat.com>
> CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
> Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Change-Id: I7e838f8284aa2aca2e43067a4b002e8530ad928d
BUG: 1412994
Signed-off-by: Xavier Hernandez <xhernandez@datalab.es>
Reviewed-on: https://review.gluster.org/16403
Smoke: Gluster Build System <jenkins@build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
Reviewed-by: Niels de Vos <ndevos@redhat.com>
Diffstat (limited to 'extras/hook-scripts')
0 files changed, 0 insertions, 0 deletions