summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/dict.c
diff options
context:
space:
mode:
authorJiffin Tony Thottan <jthottan@redhat.com>2015-07-10 23:12:28 +0530
committerKaleb KEITHLEY <kkeithle@redhat.com>2015-07-12 12:48:26 -0700
commit3a6b3dae15bba00860c3323ff8867c4845b877d6 (patch)
treecbe183f1a0046d6a5c0a3dcd3b0e15e5d5828ff1 /libglusterfs/src/dict.c
parentbfbd710b675d61fb3e8eaecd70eca92f806c6d8d (diff)
features/posix : Avoid double free of a variable in posix_setxattr()
The buffer acl_xattr is introduced in posix_setxattr() as part of http://review.gluster.org/#/c/11519/. This variable can be freed twice in the code path , one in dict_unref() and another by explicit GF_FREE() call in the code. This patch avoids the same. Change-Id: I31c6384e37ab8d8baaed7a53de668c2eb5d82338 BUG: 1242030 Signed-off-by: Jiffin Tony Thottan <jthottan@redhat.com> Reviewed-on: http://review.gluster.org/11627 Tested-by: NetBSD Build System <jenkins@build.gluster.org> Reviewed-by: soumya k <skoduri@redhat.com> Reviewed-by: Niels de Vos <ndevos@redhat.com> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'libglusterfs/src/dict.c')
0 files changed, 0 insertions, 0 deletions