diff options
author | Stefan Metzmacher <metze@samba.org> | 2018-07-18 15:01:50 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2018-08-13 12:56:33 +0200 |
commit | 77ab463cba24482c049b6977fec82917f68b569a (patch) | |
tree | b97b134c0da57d2e8e8c3686e1523977221aef23 /source4/libcli/smb_composite/fetchfile.c | |
parent | 19e65aff16bf57ab007ab101bc6094ab54123f01 (diff) | |
download | samba-77ab463cba24482c049b6977fec82917f68b569a.tar.gz |
s4:libcli: use talloc_zero() for struct smb_composite_connect in fetchfile.c
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13308
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
(cherry picked from commit 87d73397f9a9dee8fa0055a2ff08244b2c85e120)
Diffstat (limited to 'source4/libcli/smb_composite/fetchfile.c')
-rw-r--r-- | source4/libcli/smb_composite/fetchfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/smb_composite/fetchfile.c b/source4/libcli/smb_composite/fetchfile.c index d19c86a8d05..dc6f71b452e 100644 --- a/source4/libcli/smb_composite/fetchfile.c +++ b/source4/libcli/smb_composite/fetchfile.c @@ -131,7 +131,7 @@ struct composite_context *smb_composite_fetchfile_send(struct smb_composite_fetc state = talloc(c, struct fetchfile_state); if (state == NULL) goto failed; - state->connect = talloc(state, struct smb_composite_connect); + state->connect = talloc_zero(state, struct smb_composite_connect); if (state->connect == NULL) goto failed; state->io = io; |