diff options
author | Alexander Bokovoy <ab@samba.org> | 2005-03-03 09:26:08 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:10:56 -0500 |
commit | 3a5529922178fbc5e759da89ac1ab0fa3038ee15 (patch) | |
tree | 3fc57d55886026536d36e807d36dd3d924b0f91b /source4/libcli | |
parent | 0dcd79b92ac2ad9ba1c60bf0c2cfb4e9e57cf3d1 (diff) | |
download | samba-3a5529922178fbc5e759da89ac1ab0fa3038ee15.tar.gz samba-3a5529922178fbc5e759da89ac1ab0fa3038ee15.tar.bz2 samba-3a5529922178fbc5e759da89ac1ab0fa3038ee15.zip |
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 used to be commit eb57a587889611bcf39d75d4e15b627f36899a53)
Diffstat (limited to 'source4/libcli')
-rw-r--r-- | source4/libcli/composite/fetchfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/composite/fetchfile.c b/source4/libcli/composite/fetchfile.c index a7d6f2ffd8..2bf6ef9023 100644 --- a/source4/libcli/composite/fetchfile.c +++ b/source4/libcli/composite/fetchfile.c @@ -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; |