Commit ecfdb8c3 authored by Jean-Paul Saman's avatar Jean-Paul Saman

mmstu: fix memleak

parent 5cc974b1
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment