[PATCH] [channels.c] Remove wrong channel_new() comment

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



channel_new() doesn't free remote_name since 2003/05/11 20:30:25

(git commit b1ca8bb)
---
  ChangeLog  | 4 ++++
  channels.c | 3 +--
  2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 4e6b8b2..8f203aa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+20140323
+ - [channels.c] Remove wrong channel_new() comment
+   channel_new doesn't free remote_name since 2003/05/11 20:30:25
+
  20140317
   - (djm) [sandbox-seccomp-filter.c] Soft-fail stat() syscalls. Add XXX to
     remind myself to add sandbox violation logging via the log socket.
diff --git a/channels.c b/channels.c
index 9efe89c..72f166d 100644
--- a/channels.c
+++ b/channels.c
@@ -265,8 +265,7 @@ channel_register_fds(Channel *c, int rfd, int wfd, int efd,
  }
   /*
- * Allocate a new channel object and set its type and socket. This will cause
- * remote_name to be freed.
+ * Allocate a new channel object and set its type and socket.
   */
  Channel *
  channel_new(char *ctype, int type, int rfd, int wfd, int efd,

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux