Changeset 14a2f2e66d4899de9f5f2e3b418c4564f7ef7aae
- 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
| r9368859 |
r14a2f2e |
|
| 499 | 499 | |
|---|
| 500 | 500 | id = malloc( sizeof( sout_stream_id_t ) ); |
|---|
| | 501 | if( !id ) |
|---|
| | 502 | return NULL; |
|---|
| | 503 | |
|---|
| 501 | 504 | if( ( id->p_input = sout_MuxAddStream( p_sys->p_mux, p_fmt ) ) == NULL ) |
|---|
| 502 | 505 | { |
|---|
| 503 | 506 | free( id ); |
|---|
| 504 | | |
|---|
| 505 | 507 | return NULL; |
|---|
| 506 | 508 | } |
|---|