We'll have another exit with the next commit
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
smb_fname_tmp = cp_smb_filename(talloc_tos(),
smb_fname);
if (smb_fname_tmp == NULL) {
smb_fname_tmp = cp_smb_filename(talloc_tos(),
smb_fname);
if (smb_fname_tmp == NULL) {
- return NT_STATUS_NO_MEMORY;
+ status = NT_STATUS_NO_MEMORY;
+ goto done;
}
status = SMB_VFS_CREATE_FILE(
}
status = SMB_VFS_CREATE_FILE(
NULL, /* in_context */
NULL); /* out_context */
NULL, /* in_context */
NULL); /* out_context */
TALLOC_FREE(smb_fname_tmp);
return status;
}
TALLOC_FREE(smb_fname_tmp);
return status;
}