[vlc-devel] commit: Telnet: don't leak the message. ( Rémi Duraffort )
git version control
git at videolan.org
Wed Sep 24 22:40:08 CEST 2008
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Wed Sep 24 22:40:48 2008 +0200| [dbd272f42cb2e8722e90c8f9c56a07ec6a0e6c9b] | committer: Rémi Duraffort
Telnet: don't leak the message.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=dbd272f42cb2e8722e90c8f9c56a07ec6a0e6c9b
---
modules/control/telnet.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/control/telnet.c b/modules/control/telnet.c
index 62a413a..dcd2863 100644
--- a/modules/control/telnet.c
+++ b/modules/control/telnet.c
@@ -299,6 +299,7 @@ static void Run( intf_thread_t *p_intf )
net_Close( cl->fd );
TAB_REMOVE( p_intf->p_sys->i_clients ,
p_intf->p_sys->clients , cl );
+ free( cl->buffer_write );
free( cl );
continue;
}
More information about the vlc-devel
mailing list