summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--channels.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/channels.c b/channels.c
index 72f0e7709..89b7d3486 100644
--- a/channels.c
+++ b/channels.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: channels.c,v 1.370 2017/09/12 07:55:48 djm Exp $ */ 1/* $OpenBSD: channels.c,v 1.371 2017/09/19 12:10:30 millert Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -573,7 +573,7 @@ channel_free(struct ssh *ssh, Channel *c)
573 if (c->filter_cleanup != NULL && c->filter_ctx != NULL) 573 if (c->filter_cleanup != NULL && c->filter_ctx != NULL)
574 c->filter_cleanup(ssh, c->self, c->filter_ctx); 574 c->filter_cleanup(ssh, c->self, c->filter_ctx);
575 sc->channels[c->self] = NULL; 575 sc->channels[c->self] = NULL;
576 bzero(c, sizeof(*c)); 576 explicit_bzero(c, sizeof(*c));
577 free(c); 577 free(c);
578} 578}
579 579