diff options
Diffstat (limited to 'source3/smbd/process.c')
-rw-r--r-- | source3/smbd/process.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c index 7e3c5f6734..c2ce867b6e 100644 --- a/source3/smbd/process.c +++ b/source3/smbd/process.c @@ -168,12 +168,12 @@ bool srv_send_smb(struct smbd_server_connection *sconn, char *buffer, get_peer_addr(sconn->sock, addr, sizeof(addr)), (int)ret, strerror(errno) )); - srv_free_enc_buffer(buf_out); + srv_free_enc_buffer(sconn, buf_out); goto out; } SMB_PERFCOUNT_SET_MSGLEN_OUT(pcd, len); - srv_free_enc_buffer(buf_out); + srv_free_enc_buffer(sconn, buf_out); out: SMB_PERFCOUNT_END(pcd); |