OSDN Git Service

cifs: Fix memory leak in smb2_set_ea()
authorPaulo Alcantara <paulo@paulo.ac>
Wed, 4 Jul 2018 17:16:16 +0000 (14:16 -0300)
committerSteve French <stfrench@microsoft.com>
Thu, 5 Jul 2018 18:48:24 +0000 (13:48 -0500)
commit6aa0c114eceec8cc61715f74a4ce91b048d7561c
treedbcc1f80f7c55ef5aa47504c8872b0813ccf23f8
parent81f39f951b8098b1c59b01ad10d06d7dc01c7019
cifs: Fix memory leak in smb2_set_ea()

This patch fixes a memory leak when doing a setxattr(2) in SMB2+.

Signed-off-by: Paulo Alcantara <palcantara@suse.de>
Cc: stable@vger.kernel.org
Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
fs/cifs/smb2ops.c