diff options
Diffstat (limited to 'source4/librpc')
-rw-r--r-- | source4/librpc/rpc/dcerpc_smb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/librpc/rpc/dcerpc_smb.c b/source4/librpc/rpc/dcerpc_smb.c index 5d10be36f6..8a3e88e9dc 100644 --- a/source4/librpc/rpc/dcerpc_smb.c +++ b/source4/librpc/rpc/dcerpc_smb.c @@ -90,10 +90,11 @@ static void smb_read_callback(struct smbcli_request *req) if (frag_length <= state->received) { DATA_BLOB data = state->data; + struct dcerpc_connection *c = state->c; data.length = state->received; talloc_steal(state->c, data.data); talloc_free(state); - state->c->transport.recv_data(state->c, &data, NT_STATUS_OK); + c->transport.recv_data(c, &data, NT_STATUS_OK); return; } |