1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-15 05:57:49 +03:00

vfs_catia: Fix a memory leak

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13090

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit e77b7aff86ab1cb603f59961f2f5689e4dc770ea)
This commit is contained in:
Volker Lendecke 2017-10-17 11:28:36 +02:00 committed by Karolin Seeger
parent ff9c618289
commit bd4d3fba7f

View File

@ -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;
}