From: Volker Lendecke Date: Tue, 7 Jul 2009 18:40:39 +0000 (+0200) Subject: Attempt to fix the build of vfs_catia.c -- Tim, please check! X-Git-Tag: talloc-2.0.0~726 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5ab0677b45c289d5454c32950276230278379ed0;p=thirdparty%2Fsamba.git Attempt to fix the build of vfs_catia.c -- Tim, please check! --- diff --git a/source3/modules/vfs_catia.c b/source3/modules/vfs_catia.c index e5779423dec..1fd101282cd 100644 --- a/source3/modules/vfs_catia.c +++ b/source3/modules/vfs_catia.c @@ -151,7 +151,7 @@ static int catia_open(vfs_handle_struct *handle, tmp_base_name = smb_fname->base_name; smb_fname->base_name = name; - ret = SMB_VFS_NEXT_OPEN(handle, name, fsp, flags, mode); + ret = SMB_VFS_NEXT_OPEN(handle, smb_fname, fsp, flags, mode); smb_fname->base_name = tmp_base_name; TALLOC_FREE(name); @@ -204,7 +204,7 @@ static int catia_rename(vfs_handle_struct *handle, smb_fname_dst_tmp); out: TALLOC_FREE(oname); - TALLOC_FREE(newname); + TALLOC_FREE(nname); TALLOC_FREE(smb_fname_src_tmp); TALLOC_FREE(smb_fname_dst_tmp); return ret;