Commit f2edd8c2 authored by Christophe Mutricy's avatar Christophe Mutricy

Fix memleak

Untested
Closes #2306

(cherry picked from commit 88a9bbf3)
parent 1f53d470
......@@ -669,11 +669,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
vlc_mutex_t *lock;
long i_result;
ComponentDescription desc;
......
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