[vlc-devel] commit: nuv demux: typo in post-malloc check. (CID 144) (Derk-Jan Hartman )

git version control git at videolan.org
Thu Oct 9 16:38:03 CEST 2008


vlc | branch: master | Derk-Jan Hartman <hartman at videolan.org> | Thu Oct  9 16:36:54 2008 +0200| [1674ba7cc496ce3591241f52d7ee3dd3cc93fa6c] | committer: Derk-Jan Hartman 

nuv demux: typo in post-malloc check. (CID 144)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1674ba7cc496ce3591241f52d7ee3dd3cc93fa6c
---

 modules/demux/nuv.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/demux/nuv.c b/modules/demux/nuv.c
index 38ccecd..0a7c891 100644
--- a/modules/demux/nuv.c
+++ b/modules/demux/nuv.c
@@ -787,7 +787,7 @@ static int SeekTableLoad( demux_t *p_demux, demux_sys_t *p_sys )
         {
             p_kfa_table = malloc( fh.i_length );
 
-            if( p_seek_table == NULL )
+            if( p_kfa_table == NULL )
             {
                 free( p_seek_table );
                 return VLC_ENOMEM;




More information about the vlc-devel mailing list