1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-05 12:23:50 +03:00

r5646: state->loadfile might be NULL after allocation so this is really

should be NT_STATUS_HAVE_NO_MEMORY(state->loadfile) instead of
NT_STATUS_NOT_OK_RETURN(status).
This commit is contained in:
Alexander Bokovoy
2005-03-03 09:26:08 +00:00
committed by Gerald (Jerry) Carter
parent 46ae4010f2
commit eb57a58788

View File

@@ -49,7 +49,7 @@ static NTSTATUS fetchfile_connect(struct composite_context *c,
NT_STATUS_NOT_OK_RETURN(status);
state->loadfile = talloc(state, struct smb_composite_loadfile);
NT_STATUS_NOT_OK_RETURN(status);
NT_STATUS_HAVE_NO_MEMORY(state->loadfile);
state->loadfile->in.fname = io->in.filename;