1
mirror of https://code.videolan.org/videolan/vlc synced 2024-10-03 01:31:53 +02:00

Fix memleak

Untested
Closes #2306
This commit is contained in:
Christophe Mutricy 2008-11-22 16:23:11 +00:00
parent f4407931af
commit 88a9bbf30f

View File

@ -673,11 +673,11 @@ static aout_buffer_t *DecodeAudio( decoder_t *p_dec, block_t **pp_block )
*****************************************************************************/
static int OpenVideo( decoder_t *p_dec )
{
#ifndef WIN32
decoder_sys_t *p_sys = malloc( sizeof( decoder_sys_t ) );
if( !p_sys )
return VLC_ENOMEM;
#ifndef WIN32
long i_result;
ComponentDescription desc;
Component prev;