[vlc-devel] commit: Telnet: don't leak the message. ( Rémi Duraffort )
git version control
git at videolan.org
Fri Sep 26 20:34:19 CEST 2008
vlc | branch: 0.9-bugfix | Rémi Duraffort <ivoire at videolan.org> | Wed Sep 24 22:40:48 2008 +0200| [24ce45f998593966c8fe8caa6a2d86a2c5c203d1] | committer: Rémi Duraffort
Telnet: don't leak the message.
(cherry picked from commit dbd272f42cb2e8722e90c8f9c56a07ec6a0e6c9b)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=24ce45f998593966c8fe8caa6a2d86a2c5c203d1
---
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 cffbdd8..c271d7e 100644
--- a/modules/control/telnet.c
+++ b/modules/control/telnet.c
@@ -297,6 +297,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