[vlc-devel] commit: mmstu: fix memleak (Jean-Paul Saman )
git version control
git at videolan.org
Thu May 14 13:09:11 CEST 2009
vlc | branch: master | Jean-Paul Saman <jean-paul.saman at m2x.nl> | Tue May 12 16:55:26 2009 +0200| [ecfdb8c3ca6c1803cf055dcac440ec7ca1a8a9c3] | committer: Jean-Paul Saman
mmstu: fix memleak
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ecfdb8c3ca6c1803cf055dcac440ec7ca1a8a9c3
---
modules/access/mms/mmstu.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/access/mms/mmstu.c b/modules/access/mms/mmstu.c
index f0d600f..4a860fd 100644
--- a/modules/access/mms/mmstu.c
+++ b/modules/access/mms/mmstu.c
@@ -1035,6 +1035,7 @@ static int mms_CommandSend( access_t *p_access, int i_command,
vlc_mutex_unlock( &p_sys->lock_netwrite );
if( i_ret != buffer.i_data - ( 8 - ( i_data - i_data_old ) ) )
{
+ var_buffer_free( &buffer );
msg_Err( p_access, "failed to send command" );
return VLC_EGENERIC;
}
More information about the vlc-devel
mailing list