summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/libcli/composite/fetchfile.c2
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;