diff options
-rw-r--r-- | source3/lib/sys_rw_data.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/lib/sys_rw_data.c b/source3/lib/sys_rw_data.c index 88e5085ac6..71987835b4 100644 --- a/source3/lib/sys_rw_data.c +++ b/source3/lib/sys_rw_data.c @@ -54,9 +54,7 @@ ssize_t write_data_iov(int fd, const struct iovec *orig_iov, int iovcnt) /* * We could not send everything in one call. Make a copy of iov that - * we can mess with. We keep a copy of the array start in iov_copy for - * the TALLOC_FREE, because we're going to modify iov later on, - * discarding elements. + * we can mess with. */ memcpy(iov_copy, orig_iov, sizeof(struct iovec) * iovcnt); |