From 88a9bbf30fcb8a5371440699d6cce7e12b7667fe Mon Sep 17 00:00:00 2001 From: Christophe Mutricy Date: Sat, 22 Nov 2008 16:23:11 +0000 Subject: [PATCH] Fix memleak Untested Closes #2306 --- modules/codec/quicktime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/codec/quicktime.c b/modules/codec/quicktime.c index a42ccce76f..508d1167ef 100644 --- a/modules/codec/quicktime.c +++ b/modules/codec/quicktime.c @@ -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; -- 2.20.1