summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util_sock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/util_sock.c b/source3/lib/util_sock.c
index 296405edd3..755ad39261 100644
--- a/source3/lib/util_sock.c
+++ b/source3/lib/util_sock.c
@@ -789,13 +789,13 @@ BOOL send_smb(int fd, char *buffer)
if (ret <= 0) {
DEBUG(0,("Error writing %d bytes to client. %d. (%s)\n",
(int)len,(int)ret, strerror(errno) ));
- srv_free_buffer(buf_out);
+ srv_free_enc_buffer(buf_out);
return False;
}
nwritten += ret;
}
- srv_free_buffer(buf_out);
+ srv_free_enc_buffer(buf_out);
return True;
}