Changeset 14a2f2e66d4899de9f5f2e3b418c4564f7ef7aae

Show
Ignore:
Timestamp:
17/08/08 21:49:58 (4 months ago)
Author:
Rémi Duraffort <ivoire@videolan.org>
git-committer:
Rémi Duraffort <ivoire@videolan.org> 1219002598 +0200
git-parent:

[e218b42d56bf8d793d1223ef455396a50b069181]

git-author:
Rémi Duraffort <ivoire@videolan.org> 1218996045 +0200
Message:

Check malloc return value.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/stream_out/standard.c

    r9368859 r14a2f2e  
    499499 
    500500    id = malloc( sizeof( sout_stream_id_t ) ); 
     501    if( !id ) 
     502        return NULL; 
     503 
    501504    if( ( id->p_input = sout_MuxAddStream( p_sys->p_mux, p_fmt ) ) == NULL ) 
    502505    { 
    503506        free( id ); 
    504  
    505507        return NULL; 
    506508    }