Commit 88a9bbf3 authored by Christophe Mutricy's avatar Christophe Mutricy

Fix memleak

Untested
Closes #2306
parent f4407931
......@@ -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;
......
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