git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
f440793
)
Fix memleak
author
Christophe Mutricy
<xtophe@videolan.org>
Sat, 22 Nov 2008 16:23:11 +0000
(16:23 +0000)
committer
Christophe Mutricy
<xtophe@videolan.org>
Sat, 22 Nov 2008 16:23:11 +0000
(16:23 +0000)
Untested
Closes #2306
modules/codec/quicktime.c
patch
|
blob
|
history
diff --git
a/modules/codec/quicktime.c
b/modules/codec/quicktime.c
index
a42ccce
..
508d116
100644
(file)
--- 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 )
{
*****************************************************************************/
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;
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;
long i_result;
ComponentDescription desc;
Component prev;