Commit 2495f700 authored by Edward Hervey's avatar Edward Hervey

mpegpsmux; Fix stream leak

CID #1212164
parent 1d01afc1
......@@ -147,6 +147,7 @@ psmux_stream_new (PsMux * mux, PsMuxStreamType stream_type)
if (stream->stream_id == 0) {
g_critical ("Number of elementary streams of type %04x exceeds maximum",
g_slice_free (PsMuxStream, stream);
return NULL;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment