From: Volker Lendecke Date: Tue, 17 Oct 2017 09:28:36 +0000 (+0200) Subject: vfs_catia: Fix a memory leak X-Git-Tag: samba-4.6.9~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd4d3fba7fedc034d8259d62c6467abb01ba4291;p=thirdparty%2Fsamba.git vfs_catia: Fix a memory leak Bug: https://bugzilla.samba.org/show_bug.cgi?id=13090 Signed-off-by: Volker Lendecke Reviewed-by: Ralph Boehme (cherry picked from commit e77b7aff86ab1cb603f59961f2f5689e4dc770ea) --- diff --git a/source3/modules/vfs_catia.c b/source3/modules/vfs_catia.c index 3638f6b9167..3eb64bd1477 100644 --- a/source3/modules/vfs_catia.c +++ b/source3/modules/vfs_catia.c @@ -2217,6 +2217,7 @@ static NTSTATUS catia_readdir_attr(struct vfs_handle_struct *handle, status = SMB_VFS_NEXT_READDIR_ATTR(handle, smb_fname, mem_ctx, pattr_data); TALLOC_FREE(smb_fname); + TALLOC_FREE(fname); return status; }