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
(parent:
88a9bbf
)
Fix memleak
author
Christophe Mutricy
<xtophe@videolan.org>
Sat, 22 Nov 2008 16:33:07 +0000
(16:33 +0000)
committer
Christophe Mutricy
<xtophe@videolan.org>
Sat, 22 Nov 2008 16:33:07 +0000
(16:33 +0000)
Closes #2300
modules/demux/subtitle.c
patch
|
blob
|
history
diff --git
a/modules/demux/subtitle.c
b/modules/demux/subtitle.c
index
4df7ec0
..
e3df463
100644
(file)
--- a/
modules/demux/subtitle.c
+++ b/
modules/demux/subtitle.c
@@
-2024,6
+2024,7
@@
static int ParseSubViewer1( demux_t *p_demux, subtitle_t *p_subtitle, int i_idx
s = TextGetLine( txt );
if( !s )
+ free( psz_text );
return VLC_EGENERIC;
if( sscanf( s, "[%d:%d:%d]", &h2, &m2, &s2 ) == 3 )