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:
38f8e29
)
[USF] return if calloc fails.
author
Jean-Baptiste Kempf
<jb@videolan.org>
Thu, 16 Oct 2008 11:11:00 +0000
(13:11 +0200)
committer
Jean-Baptiste Kempf
<jb@videolan.org>
Thu, 16 Oct 2008 11:13:38 +0000
(13:13 +0200)
Close CID: 171
modules/codec/subtitles/subsusf.c
patch
|
blob
|
history
diff --git
a/modules/codec/subtitles/subsusf.c
b/modules/codec/subtitles/subsusf.c
index
d300ac0
..
c088b3d
100644
(file)
--- a/
modules/codec/subtitles/subsusf.c
+++ b/
modules/codec/subtitles/subsusf.c
@@
-643,7
+643,7
@@
static void ParseUSFHeaderTags( decoder_t *p_dec, xml_reader_t *p_xml_reader )
if( ! p_style )
{
free( psz_node );
-
break
;
+
return VLC_ENOMEM
;
}
/* All styles are supposed to default to Default, and then
* one or more settings are over-ridden.