kopia lustrzana https://github.com/kierank/libmpegts
fix memleak
rodzic
8be5e5b7cb
commit
c711c30be1
|
@ -985,6 +985,7 @@ int ts_setup_transport_stream( ts_writer_t *w, ts_main_t *params )
|
||||||
if( !cur_stream->stream_type )
|
if( !cur_stream->stream_type )
|
||||||
{
|
{
|
||||||
fprintf( stderr, "Unsupported Stream Format\n" );
|
fprintf( stderr, "Unsupported Stream Format\n" );
|
||||||
|
free( cur_stream );
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue